From dd00a74a1dea64a13710f6496000102847d3f66e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 12 Feb 2022 22:28:19 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 03844f6..1b1f106 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -131,7 +131,11 @@ MMSTATUS(){ echo -en " ${NM_SERVICES[${srvc}]}$spc: " if [[ ${MMSRV} == *"10.10.1.24"* ]]; then - + if [ "$(nordvpn staus)" == "Status: Disconnected" ]; then + echo -e "${idsCL[Red]}Not Running${idsCL[Default]}" + else + echo -e "${idsCL[Green]}Running${idsCL[Default]}" + fi else if [ "$(systemctl is-active ${srvc})" != "active" ]; then echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"