diff options
author | William Hubbs <williamh@gentoo.org> | 2012-02-18 17:23:28 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-02-18 17:23:28 -0600 |
commit | dd2b4a067a04ba8441093a22411eea32bae86971 (patch) | |
tree | 1cf8484363b8319ce626590ba26655f99523039d /init.d/net.lo.in | |
parent | 44e4c21f056437043d990d21a4db41a8f9799687 (diff) |
net: add deprecation warning for old style net dependency variables
Diffstat (limited to 'init.d/net.lo.in')
-rw-r--r-- | init.d/net.lo.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in index 4e11deca..3439bec9 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -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 } |