summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>2007-01-20 04:24:20 +0000
committermpp <mpp@FreeBSD.org>2007-01-20 04:24:20 +0000
commit61ebc4fdc6ffaff63296473b0fef0ff5e17067f7 (patch)
tree915762d169141174f5d3691a9a5eaf2757d14241 /etc/rc.d
parent31cdd06b7a65f1d446e539addc985286967ddbd7 (diff)
downloadFreeBSD-src-61ebc4fdc6ffaff63296473b0fef0ff5e17067f7.zip
FreeBSD-src-61ebc4fdc6ffaff63296473b0fef0ff5e17067f7.tar.gz
Add the following knobs for quotas if they are enabled:
quotaon_flags - flags for the quotaon command quotaoff_flags - flags for the quotaoff command quotacheck_flags - flags for the quotacheck command
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/quota6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/quota b/etc/rc.d/quota
index 8a81f83..e0f4bc8 100755
--- a/etc/rc.d/quota
+++ b/etc/rc.d/quota
@@ -16,18 +16,18 @@
name="quota"
rcvar="enable_quotas"
start_cmd="quota_start"
-stop_cmd="/usr/sbin/quotaoff -a"
+stop_cmd="/usr/sbin/quotaoff ${quotaoff_flags}"
quota_start()
{
if checkyesno check_quotas; then
echo -n 'Checking quotas:'
- quotacheck -a
+ quotacheck ${quotacheck_flags}
echo ' done.'
fi
echo -n 'Enabling quotas:'
- quotaon -a
+ quotaon ${quotaon_flags}
echo ' done.'
}
OpenPOWER on IntegriCloud