Browse Source

shutdown: if kexec failed, do a simple reboot

master
Harald Hoyer 11 years ago
parent
commit
68dc90c6e9
  1. 1
      modules.d/99shutdown/shutdown.sh

1
modules.d/99shutdown/shutdown.sh

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

Loading…
Cancel
Save