bootdisk: installer-raid-functions (HEAD) [qboosh]

PLD CVS pld-cvs-commit w pld.org.pl
Pią, 23 Sie 2002, 16:39:24 CEST


Module name:	bootdisk
Changes by:	qboosh	02/08/23 16:39:21

Modified files:
	installer-raid-functions

Log message:
- ignore errors in setup_ataraid - don't fail if it's executed second time

Index: installer-raid-functions
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/installer-raid-functions,v
diff -d -u -r1.9 -r1.10
--- installer-raid-functions	2002/08/23 12:44:48	1.9
+++ installer-raid-functions	2002/08/23 14:39:20	1.10
@@ -315,12 +315,12 @@
 setup_ataraid () {
   load_package hdraid-mod ataraid.o hptraid.o pdcraid.o
   load_module ataraid
-  insmod /hptraid.o || insmod /pdcraid.o
+  insmod /hptraid.o || insmod /pdcraid.o || :
   # devfs doesn't create /dev/ataraid/dXpY devices...
   for d in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
-    mknod /dev/ataraid/d${d} b 114 $(($d * 16))
+    mknod /dev/ataraid/d${d} b 114 $(($d * 16)) || :
     for p in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
-      mknod /dev/ataraid/d${d}p${p} b 114 $(($d * 16 + $p))
+      mknod /dev/ataraid/d${d}p${p} b 114 $(($d * 16 + $p)) || :
     done
   done
 }



Więcej informacji o liście dyskusyjnej pld-installer