Update defaults.inc
This commit is contained in:
@@ -15,8 +15,8 @@ NM_SERVICES['qbittorrent']='qBittorrent (Torrent Downloader)'
|
|||||||
NM_SERVICES['snap.tautulli.tautulli']='Tautulli (Plex Stats)'
|
NM_SERVICES['snap.tautulli.tautulli']='Tautulli (Plex Stats)'
|
||||||
NM_SERVICES['ombi']='Ombi (Download Requester)'
|
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 [[ $(/sbin/ip -o -4 addr list ens160 | awk '{print $4}' | cut -d/ -f1) == *"10.10.1.24"* ]]; then
|
||||||
#if [ "${VPN_INTERFACE}" = "nordlynx"]; then
|
if [ "${VPN_INTERFACE}" = "nordlynx" ]; then
|
||||||
# VPN_START=(/usr/bin/nordvpn connect United_States Chicago)
|
# VPN_START=(/usr/bin/nordvpn connect United_States Chicago)
|
||||||
VPN_START=(/usr/bin/nordvpn connect us9316)
|
VPN_START=(/usr/bin/nordvpn connect us9316)
|
||||||
VPN_STOP=(/usr/bin/nordvpn disconnect)
|
VPN_STOP=(/usr/bin/nordvpn disconnect)
|
||||||
@@ -25,4 +25,4 @@ else
|
|||||||
VPN_STOP=(/bin/systemctl stop openvpn)
|
VPN_STOP=(/bin/systemctl stop openvpn)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "HERE: ${VPN_START} - ${VPN_INTERFACE}"
|
echo "HERE: ${VPN_START[@]} - ${VPN_INTERFACE}"
|
||||||
Reference in New Issue
Block a user