summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-01-24 15:30:41 +0100
committerThomas Bächler <thomas@archlinux.org>2010-01-24 15:30:41 +0100
commite39ec61b7d642b36368d84f240b96eeda3c43b2f (patch)
tree5e5628167ab66d4948c6cf24ee4cf66fc367e55d
parentb95fd8ecfb7633f2db4c42b5eb798b55a2e4fb34 (diff)
Move shutdown_prekillall hook after the stat_busy message (as per request by Kurt Bosch)2010.01-1
-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