]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
waitdrives: remove mdadm assemble scan.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 21 Apr 2011 09:06:30 +0000 (11:06 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 21 Apr 2011 09:06:30 +0000 (11:06 +0200)
this is not needed after fix the mdadm initskript.

src/initscripts/init.d/waitdrives

index 93ae1ed7015b21b8eeb44a9b916120e218d2a0cc..d7df93b94f6890f8cebd54824bef9a14186070c8 100644 (file)
@@ -26,11 +26,6 @@ check_drives () {
 
 case "${1}" in
        start)
-               if [ -e /sbin/mdadm ]; then
-                       boot_mesg "Assemble mdadm managed raid-drives ..."
-                       mdadm --assemble --scan
-               fi
-
                drives=`grep "^UUID=" /etc/fstab | cut -f1 | cut -d" " -f1 | cut -d"=" -f2`;
 
                check_drives;