Add net config's to have their own depend function per interface.

This commit is contained in:
Roy Marples 2008-01-06 13:06:56 +00:00
parent 6ccc00a050
commit da4217fec8

View File

@ -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}