From 57f209ddbe27273577e625be8456fafe9e3c8b5e Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 22 Feb 2001 04:37:47 +0000 Subject: initialize multiple USB controllers if necessary --- rc.d/rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d') 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 -- cgit v1.2.1