mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
21 lines
415 B
Bash
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
|
|
}
|