summaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.shutdown b/rc.shutdown
index b0de393..e34d570 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -41,10 +41,9 @@ while [ $i -ge 0 ]; do
let i=i-1
done
-run_hook shutdown_prekillall
-
# Terminate all processes
stat_busy "Sending SIGTERM To Processes"
+run_hook shutdown_prekillall
/sbin/killall5 -15 &> /dev/null
/bin/sleep 5
stat_done