aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d')
-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 /