aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 71303e9f..27b2ecbf 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -201,6 +201,8 @@ if [ "$command" = /sbin/halt -a -f /etc/sysconfig/ups ]; then
fi
if [ "$SERVER" = "yes" -a -f $POWERDOWNFLAG ]; then
/sbin/upsdrvctl shutdown
+ sleep 120
+ /sbin/reboot --force
fi
fi