This commit is contained in:
2022-02-12 22:53:14 -06:00
parent 62dfbd35f6
commit d4f85eb771
2 changed files with 3 additions and 3 deletions

View File

@@ -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