diff options
author | Bill Nottingham <notting@redhat.com> | 2006-02-07 01:17:56 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-02-07 01:17:56 +0000 |
commit | 7d1c8d5f80eebd318d8e4a3801f972db118e52d8 (patch) | |
tree | b850575d83fae27dd95187497af7f08e7eb634ff | |
parent | fdd891f0bbe01bc2e553d7518fb7b2000c55c6aa (diff) | |
download | initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.tar initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.tar.gz initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.tar.bz2 initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.tar.xz initscripts-7d1c8d5f80eebd318d8e4a3801f972db118e52d8.zip |
put usbfs back
-rwxr-xr-x | rc.d/rc.sysinit | 6 |
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 |