From dd2b4a067a04ba8441093a22411eea32bae86971 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 18 Feb 2012 17:23:28 -0600 Subject: [PATCH] net: add deprecation warning for old style net dependency variables --- init.d/net.lo.in | 2 ++ 1 file changed, 2 insertions(+) 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 }