summaryrefslogtreecommitdiffstats
path: root/hooks/raid
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/raid')
-rw-r--r--hooks/raid4
1 files changed, 3 insertions, 1 deletions
diff --git a/hooks/raid b/hooks/raid
index 5cf4b2f..f234734 100644
--- a/hooks/raid
+++ b/hooks/raid
@@ -3,5 +3,7 @@ run_hook ()
{
#TODO scan for these somehow...
/bin/modprobe -aq raid0 raid1 raid2 raid5 raid6 >/dev/null 2>&1
- /bin/mdassemble ${md} ${raid}
+ # md= can be specified multiple times. The simplistic commandline
+ # parsing does not handle this, so we will let mdassemble parse it
+ /bin/mdassemble ${CMDLINE}
}