Add net config's to have their own depend function per interface.
This commit is contained in:
parent
6ccc00a050
commit
da4217fec8
@ -45,6 +45,9 @@ depend() {
|
|||||||
lo|lo0);;
|
lo|lo0);;
|
||||||
*)
|
*)
|
||||||
after net.lo net.lo0
|
after net.lo net.lo0
|
||||||
|
if type depend_${IFVAR} >/dev/null 2>&1; then
|
||||||
|
depend_${IFVAR}
|
||||||
|
fi
|
||||||
local prov=
|
local prov=
|
||||||
eval prov=\$RC_NEED_${IFVAR}
|
eval prov=\$RC_NEED_${IFVAR}
|
||||||
[ -n "${prov}" ] && need ${prov}
|
[ -n "${prov}" ] && need ${prov}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user