diff options
author | Bill Nottingham <notting@redhat.com> | 2005-02-28 19:57:31 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-02-28 19:57:31 +0000 |
commit | e95872bc3d9e915335ba8a82e97fb6987906b2dd (patch) | |
tree | 8e869ebcf1959d5bb17a520667b0ccff6625c8e7 /rc.d/rc.sysinit | |
parent | 8ab33df48097acbde243aceb2a6b0ed62f6aaf17 (diff) | |
download | initscripts-e95872bc3d9e915335ba8a82e97fb6987906b2dd.tar initscripts-e95872bc3d9e915335ba8a82e97fb6987906b2dd.tar.gz initscripts-e95872bc3d9e915335ba8a82e97fb6987906b2dd.tar.bz2 initscripts-e95872bc3d9e915335ba8a82e97fb6987906b2dd.tar.xz initscripts-e95872bc3d9e915335ba8a82e97fb6987906b2dd.zip |
get rid of duplicate printout (#149795)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 8 |
1 files changed, 6 insertions, 2 deletions
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= |