Author: glen
Date: Thu Oct 25 17:07:18 2007
New Revision: 8873

Modified:
   geninitrd/trunk/geninitrd
Log:
- fix finding scsi modules

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Thu Oct 25 17:07:18 2007
@@ -438,14 +438,12 @@
        local n
        for n in $PRESCSIMODS; do
                if [ "X$n" = "Xunknown" ]; then
-                       if [ -f "$modulefile" ]; then
-                               local scsimodules=$(modprobe_conf | awk 
'/scsi_hostadapter/ && ! /^[\t ]*#/ { print $3; }')
-                               for n in $scsimodules; do
-                       # for now allow scsi modules to come from anywhere. 
There are some
-                       # RAID controllers with drivers in block
-                                       findmodule "$n"
-                               done
-                       fi
+                       local mod scsimodules=$(modprobe_conf | awk 
'/scsi_hostadapter/ && ! /^[\t ]*#/ { print $3; }')
+                       for mod in $scsimodules; do
+                               # for now allow scsi modules to come from 
anywhere. There are some
+                               # RAID controllers with drivers in block
+                               findmodule "$mod"
+                       done
                else
                        findmodule "$n"
                fi
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to