nordvpn
This commit is contained in:
@@ -15,7 +15,7 @@ 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.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_START=(/usr/bin/nordvpn connect United_States Chicago)
|
||||||
VPN_STOP=(/usr/bin/nordvpn disconnect)
|
VPN_STOP=(/usr/bin/nordvpn disconnect)
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ MMSTOP(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
MMSTATUS(){
|
MMSTATUS(){
|
||||||
if [[ ${MMSRV} == *"10.10.1.23"* ]]; then
|
if [[ ${MMSRV} == *"10.10.1.24"* ]]; then
|
||||||
statusArray=("nordvpn")
|
statusArray=("nordvpn")
|
||||||
else
|
else
|
||||||
statusArray=("openvpn")
|
statusArray=("openvpn")
|
||||||
|
|||||||
Reference in New Issue
Block a user