VirtualBox

Changeset 38362 in vbox for trunk


Ignore:
Timestamp:
Aug 8, 2011 6:45:19 PM (13 years ago)
Author:
vboxsync
Message:

Installer/linux: we were creating USB device nodes we did not want to due to an incorrect check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/VBoxCreateUSBNode.sh

    r38093 r38362  
    1919
    2020# Constant, from the USB specifications
    21 usb_class_hub=9
     21usb_class_hub=09
    2222
    2323do_remove=0
     
    3333case "$do_remove" in
    3434  0)
    35   case "$class" in "$usb_class_hub") exit 0;; esac
     35  if test -n "$class" -a "$class" -eq "$usb_class_hub"
     36  then
     37      exit 0
     38  fi
    3639  case "$group" in "") group="vboxusers";; esac
    3740  mkdir /dev/vboxusb -m 0750 2>/dev/null
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette