diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 549ef167..923238ea 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -157,10 +157,10 @@ if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q "usb" /proc/devices aliases=`/sbin/modprobe -c | egrep -s "^alias[[:space:]]+usb-controller" | awk '{ print $3 }'` if [ -n "$aliases" -a "$aliases" != "off" ] ; then modprobe usbcore - action $"Mounting USB filesystem: " mount -t usbdevfs usbdevfs /proc/bus/usb\ + action $"Mounting USB filesystem: " mount -t usbdevfs usbdevfs /proc/bus/usb for alias in aliases ; do action $"Initializing USB controller ($alias): " modprobe $alias - fi + done [ $? -eq 0 ] && usb=1 fi fi |