diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-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 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 |