summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'vpn')
-rwxr-xr-xvpn2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpn b/vpn
index 1ea41fc..971ecdc 100755
--- a/vpn
+++ b/vpn
@@ -34,6 +34,7 @@ CONF_FILE=YOUR_CONFIG_FILE
TYPE=THE_DEFAULT_VPN
# Gateway of the VPN:
vpngw=VPN_IP
+devtun=tun0
set_terminal_title()
{
@@ -42,7 +43,6 @@ set_terminal_title()
set_routes()
{
- local devtun=tun0
local c=0
local sec=10
while [ -z `ip addr | grep -E '^[0-9]' | awk '{print $2}' | sed 's/:$//' | grep $devtun` ]; do