r128 - mdadm/trunk/debian/initramfs

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Sun Aug 20 23:24:05 UTC 2006


Author: madduck
Date: 2006-08-20 23:24:05 +0000 (Sun, 20 Aug 2006)
New Revision: 128

Modified:
   mdadm/trunk/debian/initramfs/hook
Log:
fix for when all devices are to be started

Modified: mdadm/trunk/debian/initramfs/hook
===================================================================
--- mdadm/trunk/debian/initramfs/hook	2006-08-20 23:23:36 UTC (rev 127)
+++ mdadm/trunk/debian/initramfs/hook	2006-08-20 23:24:05 UTC (rev 128)
@@ -54,7 +54,7 @@
 
     echo "E: mdadm: unchecked mdadm.conf file found." >&2
     echo "I: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz ." >&2
-    echo "I: mdadm: leaving RAID initialisation to initramfs (mdrun)." >&2
+    echo "I: mdadm: leaving RAID initialisation to initramfs (mdrun) for now." >&2
     exit 0
   fi
 
@@ -64,7 +64,7 @@
     echo "I: mdadm: auto-generated the mdadm.conf configuration file." >&2
   else
     echo "E: mdadm: failed to autogenerate the mdadm.conf file." >&2
-    echo "I: mdadm: leaving RAID initialisation to initramfs (mdrun)." >&2
+    echo "I: mdadm: leaving RAID initialisation to initramfs (mdrun) for now." >&2
     rm -f $CONFIG
     exit 0
   fi
@@ -130,8 +130,9 @@
   done
 
   for i in $INITRDSTART; do
+    case "$INITRDSTART" in all|none|'') break;; *) :;; esac
     case "$devs" in
-      all|*${i}*) continue;;
+      *${i}*) continue;;
       *) :;;
     esac
 




More information about the pkg-mdadm-commits mailing list