summaryrefslogtreecommitdiffstats
path: root/hooks/raid
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/raid')
-rw-r--r--hooks/raid6
1 files changed, 3 insertions, 3 deletions
diff --git a/hooks/raid b/hooks/raid
index d83e2ae..5cf4b2f 100644
--- a/hooks/raid
+++ b/hooks/raid
@@ -1,7 +1,7 @@
# vim: set ft=sh:
-# kinit handles md/raid assembly we just need modules
run_hook ()
{
- #TODO
- /bin/modprobe -aq raid0 raid1 raid2 raid5 raid6
+ #TODO scan for these somehow...
+ /bin/modprobe -aq raid0 raid1 raid2 raid5 raid6 >/dev/null 2>&1
+ /bin/mdassemble ${md} ${raid}
}