From e95872bc3d9e915335ba8a82e97fb6987906b2dd Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 28 Feb 2005 19:57:31 +0000 Subject: get rid of duplicate printout (#149795) --- rc.d/rc.sysinit | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 7f2af7d5..96962977 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -18,7 +18,11 @@ fi # Mount /proc and /sys (done here so volume labels can work with fsck) mount -n -t proc /proc /proc -[ -d /proc/bus/usb ] && mount -n -t usbfs /proc/bus/usb /proc/bus/usb +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 mount -n -t sysfs /sys /sys >/dev/null 2>&1 . /etc/init.d/functions @@ -262,7 +266,7 @@ esac /sbin/hwclock $CLOCKFLAGS -action $"Setting clock $CLOCKDEF: `date`" date +action $"Setting clock $CLOCKDEF: `date`" /bin/true if [ "$CONSOLETYPE" = "vt" -a -x /bin/loadkeys ]; then KEYTABLE= -- cgit v1.2.1