Update mm-scripts.sh

This commit is contained in:
2022-02-12 22:28:19 -06:00
parent bb22b37d9a
commit dd00a74a1d

View File

@@ -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]}"