From 7d1c8d5f80eebd318d8e4a3801f972db118e52d8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 7 Feb 2006 01:17:56 +0000 Subject: put usbfs back --- rc.d/rc.sysinit | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rc.d/rc.sysinit') 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 -- cgit v1.2.1