aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnson <jbj@redhat.com>1998-07-01 13:20:34 +0000
committerJeff Johnson <jbj@redhat.com>1998-07-01 13:20:34 +0000
commita780d7ceeebd2f66d2e95ba03b5759642b5bd727 (patch)
tree2ebbf8de78dd66ab96b67d5fc12033092ee43027
parentc64a1fee475d9679e5be8ddacee2c9926ba36862 (diff)
downloadinitscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.tar
initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.tar.gz
initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.tar.bz2
initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.tar.xz
initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.zip
Turn off accounting before unmounting /var.
-rwxr-xr-xrc.d/init.d/halt3
1 files changed, 2 insertions, 1 deletions
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 /