aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-02-07 01:17:56 +0000
committerBill Nottingham <notting@redhat.com>2006-02-07 01:17:56 +0000
commit7d1c8d5f80eebd318d8e4a3801f972db118e52d8 (patch)
treeb850575d83fae27dd95187497af7f08e7eb634ff /rc.d/rc.sysinit
parentfdd891f0bbe01bc2e553d7518fb7b2000c55c6aa (diff)
downloadinitscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.tar
initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.tar.gz
initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.tar.bz2
initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.tar.xz
initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.zip
put usbfs back
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 39031af5..6ddeab05 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -16,6 +16,12 @@ if [ -z "$HOSTNAME" -o "$HOSTNAME" = "(none)" ]; then
HOSTNAME=localhost
fi
+if [ ! -d /proc/bus/usb ]; then
+ modprobe usbcore >/dev/null 2>&1 && mount -n -t usbfs /proc/bus/usb /proc/bus/usb
+else
+ mount -n -t usbfs /proc/bus/usb /proc/bus/usb
+fi
+
. /etc/init.d/functions
# Check SELinux status