Give people some warning before removing enable_quotas

This commit is contained in:
dougb 2010-08-14 18:58:05 +00:00
parent a8c5860291
commit 50862398d5

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