diff options
author | Bill Nottingham <notting@redhat.com> | 2003-02-18 21:08:53 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-02-18 21:08:53 +0000 |
commit | 6e1d6e18dd48575b3be203010d60e547b4357cff (patch) | |
tree | 6c96c542881605064bc60ff14de909e2816c64e0 | |
parent | 1cb9270ed70c659cda96b857cfb9367a2987d64e (diff) | |
download | initscripts-6e1d6e18dd48575b3be203010d60e547b4357cff.tar.gz initscripts-6e1d6e18dd48575b3be203010d60e547b4357cff.tar.xz initscripts-6e1d6e18dd48575b3be203010d60e547b4357cff.zip |
just because hid may be static doesn't mean keybdev/mousedev are
also, hid could have been hotplugged
-rwxr-xr-x | rc.d/rc.sysinit | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 08881074..0ef4c8ad 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -184,11 +184,9 @@ fi needusbstorage= if [ $usb = "1" ]; then needusbstorage=`LC_ALL=C grep -e "^I.*Cls=08" /proc/bus/usb/devices 2>/dev/null` - LC_ALL=C grep 'hid' /proc/bus/usb/drivers || { - action $"Initializing USB HID interface: " modprobe hid 2> /dev/null - action $"Initializing USB keyboard: " modprobe keybdev - action $"Initializing USB mouse: " modprobe mousedev - } + LC_ALL=C grep 'hid' /proc/bus/usb/drivers || action $"Initializing USB HID interface: " modprobe hid 2> /dev/null + action $"Initializing USB keyboard: " modprobe keybdev 2> /dev/null + action $"Initializing USB mouse: " modprobe mousedev 2> /dev/null fi if [ -f /fastboot ] || LC_ALL=C grep -iq "fastboot" /proc/cmdline 2>/dev/null ; then |