summaryrefslogtreecommitdiff
path: root/testing/dmraid/dmraid_install
blob: a20960aed1ea32783d133a6aeef30f57044c08e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# vim: set ft=sh:

install ()
{
    MODULES=" dm-mod dm-mirror "
    BINARIES="/sbin/dmraid /sbin/dmsetup"
    FILES=""
    SCRIPT="dmraid"
    add_dir "/dev/mapper"
    add_file "/lib/udev/rules.d/10-dm.rules"
    add_file "/lib/udev/rules.d/13-dm-disk.rules"
    add_file "/lib/udev/rules.d/95-dm-notify.rules"
}

help ()
{
cat<<HELPEOF
  This hook loads the necessary modules for a dmraid root device.
HELPEOF
}