summaryrefslogtreecommitdiffstats
path: root/hooks/raid
blob: 5cf4b2f96555c1a6de347f7e4118e325e112aa42 (plain)
1
2
3
4
5
6
7
# vim: set ft=sh:
run_hook ()
{
    #TODO scan for these somehow...
    /bin/modprobe -aq raid0 raid1 raid2 raid5 raid6 >/dev/null 2>&1
    /bin/mdassemble ${md} ${raid}
}