Blame SOURCES/0149-shutdown-if-kexec-failed-do-a-simple-reboot.patch

712866
From 9d75fd3b62be29813c9c30a88e3f1bacc921847a Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Tue, 18 Mar 2014 13:21:22 +0100
712866
Subject: [PATCH] shutdown: if kexec failed, do a simple reboot
712866
712866
---
712866
 modules.d/99shutdown/shutdown.sh | 1 +
712866
 1 file changed, 1 insertion(+)
712866
712866
diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh
712866
index 162abcb..1daf2ca 100755
712866
--- a/modules.d/99shutdown/shutdown.sh
712866
+++ b/modules.d/99shutdown/shutdown.sh
712866
@@ -113,6 +113,7 @@ case "$ACTION" in
712866
     kexec)
712866
         kexec -e
712866
         warn "$ACTION failed!"
712866
+        reboot -f -d -n
712866
         ;;
712866
     *)
712866
         warn "Shutdown called with argument '$ACTION'. Rebooting!"