summaryrefslogtreecommitdiff
path: root/net/tuntap.sh
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-01-08 16:24:03 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2012-01-08 16:24:10 -0800
commit4255ba175bd7c3ccadc5bc894d00ccb844467067 (patch)
tree40965581526479833b09054c5d9dc028348536b9 /net/tuntap.sh
parentd02d3af02e4254b04949de546c5d53af82cc2fc2 (diff)
downloadopenrc-4255ba175bd7c3ccadc5bc894d00ccb844467067.tar.gz
openrc-4255ba175bd7c3ccadc5bc894d00ccb844467067.tar.bz2
openrc-4255ba175bd7c3ccadc5bc894d00ccb844467067.tar.xz
net: net.lo, lots of scripts
The program function in depend blocks is now able to search paths by itself. If passed multiple arguments or multiple calls, at least one of the arguments passed must be a program or a shell builtin (eg ip built into busybox). If a qualified path is specified, only that path will be checked, otherwise it will be checked as a builtin, then $PATH will be checked for the named binary (via type). Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net/tuntap.sh')
-rw-r--r--net/tuntap.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tuntap.sh b/net/tuntap.sh
index 679b097..d0f24c5 100644
--- a/net/tuntap.sh
+++ b/net/tuntap.sh
@@ -4,6 +4,7 @@
tuntap_depend()
{
before bridge interface macchanger
+ program ip openvpn tunctl
}
_config_vars="$_config_vars iproute2 openvpn tunctl"