From: NeilBrown Date: Thu, 26 Mar 2015 04:41:46 +0000 (+1100) Subject: mdraid/mdraid_start.sh: tell mainloop if we make progress. X-Git-Tag: 042~15^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b82ac169694cf21e6ebd4dbfb6efd89539da10e;p=thirdparty%2Fdracut.git mdraid/mdraid_start.sh: tell mainloop if we make progress. mdraid_start is a number of scripts which run after a timeout. If it makes progress, it should tell the main loop so that it knows that it is worth waiting a bit longer. So in that case, create the initqueue/work file which the main loop checks for. Signed-off-by: NeilBrown --- diff --git a/modules.d/90mdraid/mdraid_start.sh b/modules.d/90mdraid/mdraid_start.sh index 761e64f31..400ab5dc4 100755 --- a/modules.d/90mdraid/mdraid_start.sh +++ b/modules.d/90mdraid/mdraid_start.sh @@ -27,6 +27,7 @@ _md_force_run() { _path_d="${_path_s%/*}/degraded" [ ! -r "$_path_d" ] && continue + > $hookdir/initqueue/work done }