summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-02-18 17:23:28 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-02-18 17:23:28 -0600
commitdd2b4a067a04ba8441093a22411eea32bae86971 (patch)
tree1cf8484363b8319ce626590ba26655f99523039d /init.d
parent44e4c21f056437043d990d21a4db41a8f9799687 (diff)
downloadopenrc-dd2b4a067a04ba8441093a22411eea32bae86971.tar.gz
openrc-dd2b4a067a04ba8441093a22411eea32bae86971.tar.bz2
openrc-dd2b4a067a04ba8441093a22411eea32bae86971.tar.xz
net: add deprecation warning for old style net dependency variables
Diffstat (limited to 'init.d')
-rw-r--r--init.d/net.lo.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index 4e11dec..3439bec 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
}