lkrg-bootup.sh: exec P_LKRG_SYSTEMD

This commit is contained in:
Vladimir D. Seleznev 2021-03-04 19:46:00 +03:00 committed by Solar Designer
parent 9a42e57911
commit ffdc3c62c2

View file

@ -18,7 +18,7 @@ echo -e " ${P_GREEN}[*] ${P_WHITE}Executing LKRG's bootup installation script${P
case "`readlink -e /proc/1/exe`" in
/usr/lib/systemd/systemd | \
/lib/systemd/systemd)
"$P_LKRG_SYSTEMD" "$@"
exec "$P_LKRG_SYSTEMD" "$@"
;;
*)
echo -e " ${P_RED}[-] Unsupported init system: not systemd or not running as root?${P_NC}"