diff options
author | 2025-05-20 10:49:05 +0200 | |
---|---|---|
committer | 2025-05-20 10:49:05 +0200 | |
commit | 59f17470119280f1419c0291c752d7d0cc462751 (patch) | |
tree | 490f1f1ffc489d1b826844af26339c62ef5fbb0e | |
parent | 3236d2b4fe99e2109e6629d09df2a25ec08b0138 (diff) | |
download | vpn-59f17470119280f1419c0291c752d7d0cc462751.tar.gz vpn-59f17470119280f1419c0291c752d7d0cc462751.zip |
Move outside the 'devtun' variable
-rwxr-xr-x | vpn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |