From a780d7ceeebd2f66d2e95ba03b5759642b5bd727 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 1 Jul 1998 13:20:34 +0000 Subject: Turn off accounting before unmounting /var. --- rc.d/init.d/halt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index 2c26854e..e7ed4b31 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -40,8 +40,9 @@ kill -9 -1 halt -w # Turn off swap, then unmount file systems. -echo "Turning off swap" +echo "Turning off swap and accounting" swapoff -a +accton echo "Unmounting file systems" umount -a mount -n -o remount,ro / -- cgit v1.2.1