Re: conf/157687: [patch] /etc/rc.d/quota and quotaon args
The following reply was made to PR conf/157687; it has been noted by GNATS.
From: Dmitry Banschikov <d.banschikov@peterhost.ru>
To: bug-followup@FreeBSD.org
Cc:
Subject: Re: conf/157687: [patch] /etc/rc.d/quota and quotaon args
Date: Tue, 07 Jun 2011 17:44:11 +0400
It seems that patch was not attached. Here it is:
--- quota.orig 2004-10-08 18:23:49.000000000 +0400
+++ quota.new 2011-06-07 16:31:12.000000000 +0400
@@ -15,18 +15,18 @@
name="quota"
rcvar=`set_rcvar`
start_cmd="quota_start"
-stop_cmd="/usr/sbin/quotaoff ${quotaoff_flags}"
+stop_cmd="/usr/sbin/quotaoff ${quotaoff_flags:-\"-a\"}"
quota_start()
{
if checkyesno check_quotas; then
echo -n 'Checking quotas:'
- quotacheck ${quotacheck_flags}
+ quotacheck ${quotacheck_flags:-"-a"}
echo ' done.'
fi
echo -n 'Enabling quotas:'
- quotaon ${quotaon_flags}
+ quotaon ${quotaon_flags:-"-a"}
echo ' done.'
}
--
Dmitry Banschikov
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 2 之 3 篇):