diff options
author | Roy Marples <roy@marples.name> | 2008-01-06 13:06:56 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-06 13:06:56 +0000 |
commit | da4217fec805602616de7da6fffff158857ded83 (patch) | |
tree | 79346b73d736c4f6c624edad13fea08fe26e1b7e | |
parent | 6ccc00a050e02c6380c68e62509801d8b3ade658 (diff) |
Add net config's to have their own depend function per interface.
-rwxr-xr-x | sh/net.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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} |