shutdown: if kexec failed, do a simple reboot

This commit is contained in:
Harald Hoyer 2014-03-18 13:21:22 +01:00
parent a9d30a4066
commit 68dc90c6e9

View File

@ -113,6 +113,7 @@ case "$ACTION" in
kexec)
kexec -e
warn "$ACTION failed!"
reboot -f -d -n
;;
*)
warn "Shutdown called with argument '$ACTION'. Rebooting!"