aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc.shutdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.shutdown b/rc.shutdown
index 4b3105d..e4baa7f 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -92,6 +92,8 @@ if [ "$RUNLEVEL" = "0" ]; then
else
printsep
printhl "${C_H2}REBOOTING"
+ # adding kexec support
+ [ -x /usr/sbin/kexec ] && /usr/sbin/kexec -e > /dev/null 2>&1
/sbin/reboot -d -f -i
fi