Update defaults.inc
This commit is contained in:
@@ -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