From da4217fec805602616de7da6fffff158857ded83 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 6 Jan 2008 13:06:56 +0000 Subject: Add net config's to have their own depend function per interface. --- sh/net.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sh/net.sh b/sh/net.sh index ef701c6a..05081a7d 100755 --- a/sh/net.sh +++ b/sh/net.sh @@ -45,6 +45,9 @@ depend() { lo|lo0);; *) after net.lo net.lo0 + if type depend_${IFVAR} >/dev/null 2>&1; then + depend_${IFVAR} + fi local prov= eval prov=\$RC_NEED_${IFVAR} [ -n "${prov}" ] && need ${prov} -- cgit v1.2.3