Correctly set SYSTEMD variable
This commit is contained in:
parent
6f25eae015
commit
9cfcd4c618
|
@ -1198,6 +1198,12 @@ function save() {
|
||||||
KEYMAP_INITRAMFS="$KEYMAP"
|
KEYMAP_INITRAMFS="$KEYMAP"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $INIT_SYSTEM == "systemd" ]]; then
|
||||||
|
SYSTEMD=true
|
||||||
|
else
|
||||||
|
SYSTEMD=false
|
||||||
|
fi
|
||||||
|
|
||||||
cat > "$1" <<EOF
|
cat > "$1" <<EOF
|
||||||
# vim: set ft=sh ts=4 sw=4 sts=-1 noet:
|
# vim: set ft=sh ts=4 sw=4 sts=-1 noet:
|
||||||
# This file will be interpreted by /bin/bash.
|
# This file will be interpreted by /bin/bash.
|
||||||
|
|
Loading…
Reference in New Issue