aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-02-18 21:08:53 +0000
committerBill Nottingham <notting@redhat.com>2003-02-18 21:08:53 +0000
commit6e1d6e18dd48575b3be203010d60e547b4357cff (patch)
tree6c96c542881605064bc60ff14de909e2816c64e0 /rc.d
parent1cb9270ed70c659cda96b857cfb9367a2987d64e (diff)
downloadinitscripts-6e1d6e18dd48575b3be203010d60e547b4357cff.tar
initscripts-6e1d6e18dd48575b3be203010d60e547b4357cff.tar.gz
initscripts-6e1d6e18dd48575b3be203010d60e547b4357cff.tar.bz2
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
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit8
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