summaryrefslogtreecommitdiffstats
path: root/etc/rc.subr
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-08-14 18:58:05 +0000
committerdougb <dougb@FreeBSD.org>2010-08-14 18:58:05 +0000
commit50862398d57767264019513ed29d01032aff7037 (patch)
tree9a23026a97a1c7672b63f545ad8a76228a8ba106 /etc/rc.subr
parenta8c58602913a7da24c7f1221d49a8df198040b3e (diff)
downloadFreeBSD-src-50862398d57767264019513ed29d01032aff7037.zip
FreeBSD-src-50862398d57767264019513ed29d01032aff7037.tar.gz
Give people some warning before removing enable_quotas
Diffstat (limited to 'etc/rc.subr')
-rw-r--r--etc/rc.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index 397af1d..5e27913 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -1016,9 +1016,9 @@ load_rc_config()
. /etc/rc.conf.d/"$_name"
fi
- # Old variable names support
+ # Old variable name support -- Remove before 9.0-RELEASE
#
- [ -n "$enable_quotas" ] && quota_enable="$enable_quotas"
+ [ -n "$enable_quotas" ] && err 1 "enable_quotas is deprecated, use quotas_enable"
# Set defaults if defined.
for _var in $rcvar $rcvars; do
OpenPOWER on IntegriCloud