summaryrefslogtreecommitdiffstats
path: root/modules.d/80test/module-setup.sh
blob: 96041a93db27ec1857983a560c0e53e20adadc9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

check() {
    # Only include the module if another module requires it
    return 255
}

depends() {
    echo "debug"
}

install() {
    inst poweroff
    inst_hook shutdown-emergency 000 "$moddir/hard-off.sh"
    inst_hook emergency 000 "$moddir/hard-off.sh"
}