summaryrefslogtreecommitdiffstats
path: root/hooks/raid
blob: f2347342057fb08240bd1facda4a63b1656e4869 (plain)
1
2
3
4
5
6
7
8
9
# vim: set ft=sh:
run_hook ()
{
    #TODO scan for these somehow...
    /bin/modprobe -aq raid0 raid1 raid2 raid5 raid6 >/dev/null 2>&1
    # md= can be specified multiple times.  The simplistic commandline
    #  parsing does not handle this, so we will let mdassemble parse it
    /bin/mdassemble ${CMDLINE}
}