blob: e9a5d93ebf910684633fded538364e4d6b0a43b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
build() {
add_binary cp
add_binary lsblk
add_file "/usr/lib/initcpio/shutdown" "/shutdown"
add_runscript
}
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:
|