aboutsummaryrefslogtreecommitdiff
path: root/net.Linux/tuntap.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-30 16:12:19 +0000
committerRoy Marples <roy@marples.name>2008-01-30 16:12:19 +0000
commit67f792ce4ca0179f1b34de2e2ed5235623d0e89b (patch)
tree582f1d60c5e12a7f6ece73d69636ae5f5994cc40 /net.Linux/tuntap.sh
parentee44b907957f02f2d5b5f25da663ee90df6c41b3 (diff)
Fix openvpn detection.
Diffstat (limited to 'net.Linux/tuntap.sh')
-rw-r--r--net.Linux/tuntap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.Linux/tuntap.sh b/net.Linux/tuntap.sh
index bd494db5..142c0f8f 100644
--- a/net.Linux/tuntap.sh
+++ b/net.Linux/tuntap.sh
@@ -44,12 +44,12 @@ tuntap_pre_start()
# Set the base metric to 1000
metric=1000
- local o_opts= t_opts= do_open=false do_tunctl=false
+ local o_opts= t_opts= do_openvpn=false do_tunctl=false
eval o_opts=\$openvpn_${IFVAR}
eval t_opts=\$tunctl_${IFVAR}
if [ -n "${o_opts}" ] && type openvpn >/dev/null 2>&1; then
- do_open=true
+ do_openvpn=true
elif [ -n "${t_opts}" ] && type tunctl >/dev/null 2>&1; then
do_tunctl=true
elif type openvpn >/dev/null 2>&1; then