From 3b70c6830d18f0433ab1f56648c8677721cbb9bd Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 18 Aug 2000 21:33:17 +0000 Subject: don't load usb drivers if they're compiled in --- 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 25d141dc..7df4f524 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -156,7 +156,7 @@ fi # Initialize USB controller and HID devices usb=0 -if ! grep -iq "nousb" /proc/cmdline 2>/dev/null ; then +if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q "usb" /proc/devices 2>/dev/null ; then alias=`egrep -s "^alias[[:space:]]+usb-controller[[:space:]]+" /etc/modules.conf | awk '{ print $3 }'` if [ -n "$alias" -a "$alias" != "off" ] ; then action "Initializing USB controller ($alias): " modprobe $alias -- cgit v1.2.1