core/dmraid/dmraid_install
2010-05-16 15:08:55 +00:00

21 lines
415 B
Bash

# 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
}