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 93ae1ed..d7df93b 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;