From 4c1c59be80c29f73655913ff139717268ff1f50f Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Tue, 23 Nov 2004 22:58:25 +0000 Subject: 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 --- rc.sysinit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 1878516..0a0f30d 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -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 -- cgit v1.2.3