Update defaults.inc
This commit is contained in:
1 parent
c5644586a1
commit
39b04f3e0d
1 file changed
+2
-2
+2
-2
@@ -25,8 +25,8 @@ if [ "${VPN_INTERFACE}" = "tun0" ]; then #openvpn
|
||||
VPN_STOP=(/bin/systemctl stop openvpn)
|
||||
|
||||
else #default wireguard
|
||||
VPN_START=(/usr/bin/wg-quick up ${VPN_INTERFACE})
|
||||
VPN_STOP=(/usr/bin/wg-quick down ${VPN_INTERFACE})
|
||||
VPN_START=(sudo /usr/bin/wg-quick up ${VPN_INTERFACE})
|
||||
VPN_STOP=(sudo /usr/bin/wg-quick down ${VPN_INTERFACE})
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user