summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-01-26 13:59:23 +0100
committerThomas Bächler <thomas@archlinux.org>2010-01-26 13:59:23 +0100
commit8ad9bc2a4c09f274edec77488877d7af7ce214eb (patch)
tree551ec3b1de142c545b46f8bb93d6ca85aed63ae4
parent4e4b7a45b520a5f16a94f1f41d4c48048965e4b2 (diff)
Move single_prekillall hook after the stat_busy message (as per request by Kurt Bosch)
-rwxr-xr-xrc.single2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.single b/rc.single
index 15eb1e8..751fca9 100755
--- a/rc.single
+++ b/rc.single
@@ -28,10 +28,10 @@ if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
fi
if [ "$PREVLEVEL" != "N" ]; then
- run_hook single_prekillall
# Terminate all processes
stat_busy "Sending SIGTERM To Processes"
+ run_hook single_prekillall
/sbin/killall5 -15 &> /dev/null
/bin/sleep 5
stat_done