From 4395ce7b537db7ee1719be6668331d2712688a0d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 26 Mar 2022 19:01:24 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index d59fc4f..c4f59d9 100755 --- a/defaults.inc +++ b/defaults.inc @@ -15,8 +15,8 @@ NM_SERVICES['qbittorrent']='qBittorrent (Torrent Downloader)' NM_SERVICES['snap.tautulli.tautulli']='Tautulli (Plex Stats)' NM_SERVICES['ombi']='Ombi (Download Requester)' -if [[ $(/sbin/ip -o -4 addr list ens160 | awk '{print $4}' | cut -d/ -f1) == *"10.10.1.24"* ]]; then -#if [ "${VPN_INTERFACE}" = "nordlynx"]; then +#if [[ $(/sbin/ip -o -4 addr list ens160 | awk '{print $4}' | cut -d/ -f1) == *"10.10.1.24"* ]]; then +if [ "${VPN_INTERFACE}" = "nordlynx" ]; then # VPN_START=(/usr/bin/nordvpn connect United_States Chicago) VPN_START=(/usr/bin/nordvpn connect us9316) VPN_STOP=(/usr/bin/nordvpn disconnect) @@ -25,4 +25,4 @@ else VPN_STOP=(/bin/systemctl stop openvpn) fi -echo "HERE: ${VPN_START} - ${VPN_INTERFACE}" \ No newline at end of file +echo "HERE: ${VPN_START[@]} - ${VPN_INTERFACE}" \ No newline at end of file