net: add deprecation warning for old style net dependency variables
This commit is contained in:
parent
44e4c21f05
commit
dd2b4a067a
@ -39,6 +39,8 @@ depend()
|
|||||||
eval prov=\$rc_${dep}_${IFVAR}
|
eval prov=\$rc_${dep}_${IFVAR}
|
||||||
if [ -n "${prov}" ]; then
|
if [ -n "${prov}" ]; then
|
||||||
${dep} ${prov}
|
${dep} ${prov}
|
||||||
|
ewarn "rc_${dep}_${IFVAR} is deprecated."
|
||||||
|
ewarn "Please use rc_net_${IFVAR}_${dep} instead."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user