Update defaults.inc

This commit is contained in:
2022-03-26 19:01:24 -05:00
parent 81ba0bb549
commit 4395ce7b53

View File

@@ -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}"
echo "HERE: ${VPN_START[@]} - ${VPN_INTERFACE}"