Update mm-scripts.sh

This commit is contained in:
2022-02-12 22:29:22 -06:00
parent dd00a74a1d
commit 2102c0ef6e

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"* ]]; then
if [[ ${MMSRV} == *"10.10.1.23"* ]]; then
if [ "$(nordvpn staus)" == "Status: Disconnected" ]; then
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
else