summarylogtreecommitdiffstats
path: root/initcpio-install-aoe
blob: 12f1db124e7964684dfd29ede7f3297e16894a8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

build() {
    add_module aoe
    
    add_udev_rule '65-aoe.rules'

    add_binary "/usr/bin/aoe-discover" "/bin/aoe-discover"

    add_runscript
}

help() {
    cat <<HELPEOF
This hook loads the necessary modules for a AoE device.
Detection will take place at runtime. To minimize the modules
in the image, add the autodetect hook too.
HELPEOF
}

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