summaryrefslogtreecommitdiffstats
path: root/hooks/raid
blob: a22c1b664bbfee9c61c577c6feea20e5a0676e47 (plain)
1
2
3
4
5
6
7
8
9
# vim: set ft=sh:
run_hook ()
{
    #TODO scan for these somehow...
    /bin/modprobe -aq linear multipath raid0 raid1 raid456 raid10>/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}
}