aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsh/net.sh3
1 files changed, 3 insertions, 0 deletions
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}