net: add deprecation warning for old style net dependency variables

This commit is contained in:
William Hubbs 2012-02-18 17:23:28 -06:00
parent 44e4c21f05
commit dd2b4a067a

View File

@ -39,6 +39,8 @@ depend()
eval prov=\$rc_${dep}_${IFVAR}
if [ -n "${prov}" ]; then
${dep} ${prov}
ewarn "rc_${dep}_${IFVAR} is deprecated."
ewarn "Please use rc_net_${IFVAR}_${dep} instead."
fi
done
}