aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.sysinit7
1 files changed, 4 insertions, 3 deletions
diff --git a/rc.sysinit b/rc.sysinit
index af7e11c..fd288d0 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -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