Make the hook systemd compatible
This commit is contained in:
parent
d117f2543e
commit
b43185abb4
6 changed files with 49 additions and 16 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue