diff --git a/defaults.inc b/defaults.inc index 8852459..252b9bb 100755 --- a/defaults.inc +++ b/defaults.inc @@ -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.24"* ]]; then +if [[ $(/sbin/ip -o -4 addr list ens160 | awk '{print $4}' | cut -d/ -f1) == *"10.10.1.23"* ]]; then VPN_START=(/usr/bin/nordvpn connect United_States Chicago) VPN_STOP=(/usr/bin/nordvpn disconnect) else diff --git a/mm-scripts.sh b/mm-scripts.sh index 882f851..3df53ed 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -118,7 +118,7 @@ MMSTOP(){ } MMSTATUS(){ - if [[ ${MMSRV} == *"10.10.1.24"* ]]; then + if [[ ${MMSRV} == *"10.10.1.23"* ]]; then statusArray=("nordvpn") else statusArray=("openvpn") @@ -130,7 +130,7 @@ MMSTATUS(){ until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en " ${NM_SERVICES[${srvc}]}$spc: " - if [[ ${MMSRV} == *"10.10.1.24"* ]] && [ "${srvc}" = "nordvpn" ]; then + if [[ ${MMSRV} == *"10.10.1.23"* ]] && [ "${srvc}" = "nordvpn" ]; then if [[ "$(nordvpn status)" == *"Status: Disconnected"* ]]; then echo -e "${idsCL[Red]}Not Running${idsCL[Default]}" else