bootdisk/trunk/batch-installer/installer-raid-functions

hawk cvs at pld-linux.org
Sun Feb 5 18:42:21 CET 2006


Author: hawk
Date: Sun Feb  5 18:42:14 2006
New Revision: 6929

Modified:
   bootdisk/trunk/batch-installer/installer-raid-functions
Log:
- added support for silraid and medley in setup_ataraid


Modified: bootdisk/trunk/batch-installer/installer-raid-functions
==============================================================================
--- bootdisk/trunk/batch-installer/installer-raid-functions	(original)
+++ bootdisk/trunk/batch-installer/installer-raid-functions	Sun Feb  5 18:42:14 2006
@@ -296,8 +296,18 @@
     :
   elif lsmod | grep -q "^pdcraid " ; then
     :
+  elif lsmod | grep -q "^silraid " ; then
+    :
+  elif lsmod | grep -q "^medley " ; then
+    :
   else
-    insmod /hptraid.o || insmod /pdcraid.o
+    if ! insmod /hptraid.o 2> /dev/null; then
+      if ! insmod /pdcraid.o 2> /dev/null; then
+        if ! insmod /silraid.o 2> /dev/null; then
+          insmod /medley.o 2> /dev/null
+	fi
+      fi
+    fi
   fi
 
   for d in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do


More information about the pld-cvs-commit mailing list