mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-26 16:25:20 +03:00
shutdown: if kexec failed, do a simple reboot
This commit is contained in:
parent
a9d30a4066
commit
68dc90c6e9
@ -113,6 +113,7 @@ case "$ACTION" in
|
||||
kexec)
|
||||
kexec -e
|
||||
warn "$ACTION failed!"
|
||||
reboot -f -d -n
|
||||
;;
|
||||
*)
|
||||
warn "Shutdown called with argument '$ACTION'. Rebooting!"
|
||||
|
Loading…
Reference in New Issue
Block a user