]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
mdraid/mdraid_start.sh: remove mdmon workaround
authorHarald Hoyer <harald@redhat.com>
Sat, 2 Mar 2013 12:10:57 +0000 (13:10 +0100)
committerHarald Hoyer <harald@redhat.com>
Sat, 2 Mar 2013 12:10:57 +0000 (13:10 +0100)
modules.d/90mdraid/mdraid_start.sh

index 545a8354ecdc68a32032e9cb7401ae0da3377cb7..fe0e9f40406e44c97c01d2819617c2f5b821d145 100755 (executable)
@@ -29,9 +29,6 @@ _md_force_run() {
 
         _path_d="${_path_s%/*}/degraded"
         [ ! -r "$_path_d" ] && continue
-
-        # workaround for mdmon bug
-        [ "$(cat "$_path_d")" -gt "0" ] && mdmon $_offroot --takeover "$md"
     done
 }