summaryrefslogtreecommitdiffstats
path: root/hooks/raid
blob: a81c17289b4cd1d2e1affe880f368a0ab268654c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# vim: set ft=sh:

# kinit handles md/raid assembly
#   we just need modules

install ()
{
    MODULES=" $(find "${MODULEDIR}/kernel/drivers/md/" -name *.ko) md raid0 raid1 raid2 raid5 raid6"
    BINARIES=""
    FILES=""
}

run_hook ()
{
    #TODO
    /bin/modprobe -aq raid0 raid1 raid2 raid5 raid6
}