Update mm-scripts.sh
This commit is contained in:
@@ -131,7 +131,7 @@ MMSTATUS(){
|
|||||||
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
||||||
|
|
||||||
if [[ ${MMSRV} == *"10.10.1.24"* ]] && [ "${srvc}" = "nordvpn" ]; then
|
if [[ ${MMSRV} == *"10.10.1.24"* ]] && [ "${srvc}" = "nordvpn" ]; then
|
||||||
if [[ "$(nordvpn status)" == *"Status: Connected"* ]]; then
|
if [[ "$(nordvpn status)" == *"Status: Disconnected"* ]]; then
|
||||||
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user