Give people some warning before removing enable_quotas

This commit is contained in:
Doug Barton 2010-08-14 18:58:05 +00:00
parent 627e7864f1
commit a7112b557f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211311

View File

@ -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