summaryrefslogtreecommitdiff
path: root/core/dmraid/dmraid_install
blob: c48e6ceaf0fdc6ff12a132be6b0df56a2d5ce8b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

build() {
    MODULES=" dm-mod dm-mirror "
    BINARIES="dmraid dmsetup"
    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
}

# vim: set ft=sh ts=4 sw=4 et: