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

build() {
    BINARIES='cp'
    SCRIPT='shutdown'

    add_file "/lib/initcpio/shutdown" "/shutdown"
}

help() {
    cat <<HELPEOF
This hook copies the contents of the initramfs into /run/initramfs for reuse
on shutdown. This is needed when you have /usr mounted on a separate partition.
HELPEOF
}

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