diff options
-rwxr-xr-x | rc.sysinit | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -151,6 +151,10 @@ if [ "$CONSOLEFONT" != "" ]; then stat_done fi +# Load USB support +/sbin/modprobe usbcore >/dev/null 2>&1 +[ "`grep usbfs /proc/filesystems`" ] && mount -t usbfs none /proc/bus/usb + # Load modules from the MODULES array defined in rc.conf if [ -f /proc/modules ]; then stat_busy "Loading Modules" @@ -162,9 +166,6 @@ if [ -f /proc/modules ]; then stat_done fi -# Now that modules are loaded, try to mount /proc/bus/usb -[ "`grep usbfs /proc/filesystems`" ] && mount -t usbfs none /proc/bus/usb - # Load sysctl variables if sysctl.conf is present [ -r /etc/sysctl.conf ] && /sbin/sysctl -p |