This commit is contained in:
2022-02-21 21:28:16 -06:00
parent ea6ac9e9de
commit 83eda847d4
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ 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.23"* ]]; then
if [[ $(/sbin/ip -o -4 addr list ens160 | awk '{print $4}' | cut -d/ -f1) == *"10.10.1.24"* ]]; then
VPN_START=(/usr/bin/nordvpn connect United_States Chicago)
VPN_STOP=(/usr/bin/nordvpn disconnect)
else

View File

@@ -118,7 +118,7 @@ MMSTOP(){
}
MMSTATUS(){
if [[ ${MMSRV} == *"10.10.1.23"* ]]; then
if [[ ${MMSRV} == *"10.10.1.24"* ]]; then
statusArray=("nordvpn")
else
statusArray=("openvpn")