diff options
author | Judd Vinet <judd@archlinux.org> | 2004-11-23 22:58:25 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-11-23 22:58:25 +0000 |
commit | 4c1c59be80c29f73655913ff139717268ff1f50f (patch) | |
tree | 3d5c53a3787a6d543e8a3f48fcbd7bb5ee130993 /rc.sysinit | |
parent | 2822ea48f2e7609232d4e4b47285d60097de2828 (diff) | |
download | initscripts-4c1c59be80c29f73655913ff139717268ff1f50f.tar.xz |
made rc.d/network pay attention to the new conf.d files (dhcpcd and wireless). also modified rc.sysinit to wait til after modules are loaded before attempting to mount /proc/bus/usb. If the user uses hotplug, then the usb host modules may not be loaded yet, but that's okay -- hotplug will mount /proc/bus/usb for them
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -87,7 +87,7 @@ stat_busy "Mounting Local Filesystems" umount /proc && mount -t proc none /proc [ "`grep sysfs /proc/filesystems`" ] && umount /sys && mount -t sysfs none /sys # now mount all the local filesystems -/bin/mount -a -t nonfs,nosmbfs,noncpfs,nosysfs +/bin/mount -a -t nonfs,nosmbfs,noncpfs,nosysfs,nousbfs stat_done stat_busy "Configuring System Clock" @@ -152,6 +152,9 @@ for mod in "${MODULES[@]}"; do done stat_done +# Now that modules are loaded, try to mount /proc/bus/usb +[ "`grep usbfs /proc/filesystems`" ] && mount -t usbfs none /proc/bus/usb + # Screen blanks after 15 minutes idle time /usr/bin/setterm -blank 15 |