diff options
author | Jeff Johnson <jbj@redhat.com> | 1998-07-01 13:20:34 +0000 |
---|---|---|
committer | Jeff Johnson <jbj@redhat.com> | 1998-07-01 13:20:34 +0000 |
commit | a780d7ceeebd2f66d2e95ba03b5759642b5bd727 (patch) | |
tree | 2ebbf8de78dd66ab96b67d5fc12033092ee43027 /rc.d | |
parent | c64a1fee475d9679e5be8ddacee2c9926ba36862 (diff) | |
download | initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.tar initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.tar.gz initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.tar.bz2 initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.tar.xz initscripts-a780d7ceeebd2f66d2e95ba03b5759642b5bd727.zip |
Turn off accounting before unmounting /var.
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 3 |
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 / |