summaryrefslogtreecommitdiffstats
path: root/install/sd-shutdown
blob: 7e86dad7c618b1d7fb32a91fb997c893f52107dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

build() {
    add_binary /usr/lib/systemd/systemd-shutdown /shutdown
}

help() {
    cat <<HELPEOF
This hook adds systemd-shutdown to the initramfs. This is only
if the image is extracted to /run/initramfs before shutdown.
HELPEOF
}

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