diff options
author | Bill Nottingham <notting@redhat.com> | 2001-02-22 04:37:47 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-02-22 04:37:47 +0000 |
commit | 57f209ddbe27273577e625be8456fafe9e3c8b5e (patch) | |
tree | 654b0730aaa4c51a16a8a32980954c826964b873 | |
parent | 7ef0db8a2dc745b4c81131b5bcd77e2f0d2f0a5b (diff) | |
download | initscripts-57f209ddbe27273577e625be8456fafe9e3c8b5e.tar initscripts-57f209ddbe27273577e625be8456fafe9e3c8b5e.tar.gz initscripts-57f209ddbe27273577e625be8456fafe9e3c8b5e.tar.bz2 initscripts-57f209ddbe27273577e625be8456fafe9e3c8b5e.tar.xz initscripts-57f209ddbe27273577e625be8456fafe9e3c8b5e.zip |
initialize multiple USB controllers if necessary
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 113bba34..61785e8e 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -154,7 +154,7 @@ action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME} # Initialize USB controller and HID devices usb=0 if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q "usb" /proc/devices 2>/dev/null ; then - alias=`/sbin/modprobe -c | egrep -s "^alias[[:space:]]+usb-controller[[:space:]]+" | awk '{ print $3 }'` + alias=`/sbin/modprobe -c | egrep -s "^alias[[:space:]]+usb-controller" | awk '{ print $3 }'` if [ -n "$alias" -a "$alias" != "off" ] ; then action $"Initializing USB controller ($alias): " modprobe $alias [ $? -eq 0 ] && usb=1 |