Update defaults.inc

This commit is contained in:
2023-03-22 21:21:58 -05:00
parent c5644586a1
commit 39b04f3e0d

View File

@@ -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