Make the hook systemd compatible

This commit is contained in:
Marko Korhonen 2020-04-27 09:49:01 +03:00
parent d117f2543e
commit b43185abb4
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
6 changed files with 49 additions and 16 deletions

View file

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