]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- /proc/bus/usb should be described in fstab - mounting manually bogus
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Tue, 13 Aug 2002 20:31:20 +0000 (20:31 +0000)
committerSebastian Zagrodzki <sebek@zagrodzki.net>
Tue, 13 Aug 2002 20:31:20 +0000 (20:31 +0000)
  device "usbdevfs" causes mount -a to fail when fstab contains something
  like "none /proc/bus/usb usbdevfs ..."

svn-id: @1037

rc.d/rc.sysinit

index 2b41c11c95c676495332e75fad5afde7935d900a..5e6113bc18964b1d3b24c98bc01cb76851e08997 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # /etc/rc.d/rc.sysinit - run once at boot time
-# $Id: rc.sysinit,v 1.107 2002/08/09 06:30:27 zagrodzki Exp $
+# $Id: rc.sysinit,v 1.108 2002/08/13 20:31:20 zagrodzki Exp $
 #
 # Taken in part from Miquel van Smoorenburg's bcheckrc.
 # Changes:     Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
@@ -322,7 +322,7 @@ if ! grep -iq "nousb" /proc/cmdline 2>/dev/null && ! grep -q "usb" /proc/devices
        if [ -n "$aliases" -a "$aliases" != "off" ] ; then
                /sbin/modprobe -k usbcore
                if ! grep -q usbdevfs /etc/mtab; then
-                       run_cmd "Mounting USB filesystem" mount -t usbdevfs usbdevfs /proc/bus/usb
+                       run_cmd "Mounting USB filesystem" mount /proc/bus/usb
                fi
                for alias in $aliases ; do 
                        run_cmd "$(nls 'Initializing USB controller') ($alias)" /sbin/modprobe $alias
This page took 0.042851 seconds and 4 git commands to generate.