1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# vim: set ft=sh: build() { MODULES=" dm-mod dm-mirror " BINARIES="/sbin/dmraid /sbin/dmsetup" FILES="" SCRIPT="dmraid" add_file "/usr/lib/udev/rules.d/10-dm.rules" add_file "/usr/lib/udev/rules.d/13-dm-disk.rules" add_file "/usr/lib/udev/rules.d/95-dm-notify.rules" } help () { cat<<HELPEOF This hook loads the necessary modules for a dmraid root device. HELPEOF }