]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- usb-storage must be loaded before LVM detection (disks on USB are real)
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Sep 2003 09:40:59 +0000 (09:40 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 30 Sep 2003 09:40:59 +0000 (09:40 +0000)
svn-id: @1392

rc.d/rc.sysinit

index 9538e06cc41012eabe0d270324af556949cdf289..20223e7933ba079a6161abbfc378045faf638aea 100755 (executable)
@@ -372,6 +372,11 @@ if [ $usb = "1" ]; then
        fi
 fi
 
+# Load usb storage here, to match most other things
+if [ -n "$needusbstorage" ]; then
+        modprobe usb-storage >/dev/null 2>&1
+fi
+
 # Load sound modules if they need persistent DMA buffers
 if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
        RETURN=0
@@ -681,11 +686,6 @@ if [ -f /proc/scsi/scsi ] && grep -q 'Type:   Sequential-Access' /proc/scsi/scsi
        fi
 fi
 
-# Load usb storage here, to match most other things
-if [ -n "$needusbstorage" ]; then
-        modprobe usb-storage >/dev/null 2>&1
-fi
-
 # There could be a new kernel version. Remove old psdevtab database
 rm -f /etc/psdevtab
 
This page took 0.30671 seconds and 4 git commands to generate.