aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/halt
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/halt')
-rwxr-xr-xrc.d/init.d/halt2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 3922e008..5084f5a2 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -62,6 +62,8 @@ SWAPS=`awk '! /^Filename/ { print $1 }' /proc/swaps`
[ -x /sbin/accton ] && runcmd "Turning off accounting" /sbin/accton
+[ -x /sbin/qutoaoff ] && runcmd "Turning off quotas" /sbin/quotaoff -a
+
# Unmount file systems, killing processes if we have to.
sig=
retry=3