aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-06-19 16:12:01 +0000
committerBill Nottingham <notting@redhat.com>2002-06-19 16:12:01 +0000
commitafc5d1bea9291d6f082ee6a0ed356367979f3c05 (patch)
treec61f1ee9333e07f6266f17d42d2e2fc06e6a1465 /rc.d/rc.sysinit
parent303c6c465d8883005bb28bcda9a26bd000ad0400 (diff)
downloadinitscripts-afc5d1bea9291d6f082ee6a0ed356367979f3c05.tar
initscripts-afc5d1bea9291d6f082ee6a0ed356367979f3c05.tar.gz
initscripts-afc5d1bea9291d6f082ee6a0ed356367979f3c05.tar.bz2
initscripts-afc5d1bea9291d6f082ee6a0ed356367979f3c05.tar.xz
initscripts-afc5d1bea9291d6f082ee6a0ed356367979f3c05.zip
always initialize USB keyboard/mouse
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit14
1 files changed, 3 insertions, 11 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 493beb99..61e21c4e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -186,18 +186,10 @@ fi
needusbstorage=
if [ $usb = "1" ]; then
- mouseoutput=`cat /proc/bus/usb/devices 2>/dev/null|grep -E "^I.*Cls=03.*Prot=02"`
- kbdoutput=`cat /proc/bus/usb/devices 2>/dev/null|grep -E "^I.*Cls=03.*Prot=01"`
needusbstorage=`cat /proc/bus/usb/devices 2>/dev/null|grep -e "^I.*Cls=08"`
- if [ -n "$kbdoutput" ] || [ -n "$mouseoutput" ]; then
- action $"Initializing USB HID interface: " modprobe hid 2> /dev/null
- fi
- if [ -n "$kbdoutput" ]; then
- action $"Initializing USB keyboard: " modprobe keybdev
- fi
- if [ -n "$mouseoutput" ]; then
- action $"Initializing USB mouse: " modprobe mousedev
- fi
+ action $"Initializing USB HID interface: " modprobe hid 2> /dev/null
+ action $"Initializing USB keyboard: " modprobe keybdev
+ action $"Initializing USB mouse: " modprobe mousedev
fi
if [ -f /fastboot ] || grep -iq "fastboot" /proc/cmdline 2>/dev/null ; then