From 6e1d6e18dd48575b3be203010d60e547b4357cff Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 18 Feb 2003 21:08:53 +0000 Subject: just because hid may be static doesn't mean keybdev/mousedev are also, hid could have been hotplugged --- rc.d/rc.sysinit | 8 +++----- 1 file 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 -- cgit v1.2.1