diff options
author | Judd Vinet <judd@archlinux.org> | 2005-05-31 18:31:01 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-05-31 18:31:01 +0000 |
commit | b5d692b639b9e4a47cd6ba920b91a6d2ff50dc3d (patch) | |
tree | fe9f35a815f3e873c73f834c607db2809ba160e8 /rc.sysinit | |
parent | cc6648d06dba085b903db820ad581dd94eb669ef (diff) | |
download | initscripts-b5d692b639b9e4a47cd6ba920b91a6d2ff50dc3d.tar.xz |
moved usb setup above the Loading Modules stage, so sane and other usb things will work correctly (#2770)
Diffstat (limited to 'rc.sysinit')
-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 |