This repository has been archived on 2024-05-12. You can view files and clone it, but cannot push or open issues or pull requests.
mkinitcpio-welcomemessage/sd-welcomemessage.install
2020-04-27 09:49:01 +03:00

12 lines
296 B
Bash

# vim:ft=sh
build() {
cat $(cat /etc/welcomemessage.conf | sed -n '/filename=/p' | sed 's/filename=//') > "$BUILDROOT/welcomemessage"
add_systemd_unit "welcomemessage.service"
}
help() {
cat<<HELPEOF
This hook will print a welcome message before the encryption password is required
HELPEOF
}