aboutsummaryrefslogtreecommitdiff
path: root/init.d/halt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/halt.sh')
-rwxr-xr-xinit.d/halt.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.d/halt.sh b/init.d/halt.sh
index 701a56c6..1b4acca0 100755
--- a/init.d/halt.sh
+++ b/init.d/halt.sh
@@ -14,6 +14,12 @@ fi
stop_addon devfs
stop_addon udev
+# Really kill things off before unmounting
+if [ -x /sbin/killall5 ] ; then
+ killall5 -15
+ killall5 -9
+fi
+
# Flush all pending disk writes now
sync ; sync