From: Harald Hoyer Date: Tue, 18 Mar 2014 12:21:22 +0000 (+0100) Subject: shutdown: if kexec failed, do a simple reboot X-Git-Tag: 037~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68dc90c6e9250795df21a425fda18439729d4e4a;p=thirdparty%2Fdracut.git shutdown: if kexec failed, do a simple reboot --- diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh index 162abcb97..1daf2ca3b 100755 --- a/modules.d/99shutdown/shutdown.sh +++ b/modules.d/99shutdown/shutdown.sh @@ -113,6 +113,7 @@ case "$ACTION" in kexec) kexec -e warn "$ACTION failed!" + reboot -f -d -n ;; *) warn "Shutdown called with argument '$ACTION'. Rebooting!"