shutdown: if kexec failed, do a simple reboot

master
Harald Hoyer 2014-03-18 13:21:22 +01:00
parent a9d30a4066
commit 68dc90c6e9
1 changed files with 1 additions and 0 deletions

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!"