Use killall5 again so we can cleanly remount / readonly, #168977

and #177689.
This commit is contained in:
Roy Marples
2007-05-30 22:30:54 +00:00
parent 1c1b0b0a4c
commit 27344f7f27
3 changed files with 9 additions and 1 deletions

View File

@@ -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