aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-10-25 17:16:54 +0000
committerBill Nottingham <notting@redhat.com>1999-10-25 17:16:54 +0000
commit0fa1e2d5c432601fadc0fe05c017dd2ca46e21e5 (patch)
treebce45557c7e8b2aada39344a9e77f58490a48a4d
parentc13cbeda6b3d0b80350ceeb602a4007113a376a3 (diff)
downloadinitscripts-0fa1e2d5c432601fadc0fe05c017dd2ca46e21e5.tar
initscripts-0fa1e2d5c432601fadc0fe05c017dd2ca46e21e5.tar.gz
initscripts-0fa1e2d5c432601fadc0fe05c017dd2ca46e21e5.tar.bz2
initscripts-0fa1e2d5c432601fadc0fe05c017dd2ca46e21e5.tar.xz
initscripts-0fa1e2d5c432601fadc0fe05c017dd2ca46e21e5.zip
turn off quotas before remountingrc.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