diff options
Diffstat (limited to 'install/shutdown')
-rw-r--r-- | install/shutdown | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/install/shutdown b/install/shutdown new file mode 100644 index 0000000..2c533b6 --- /dev/null +++ b/install/shutdown @@ -0,0 +1,17 @@ +#!/bin/bash + +build() { + BINARIES='cp findmnt' + 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: |