Update mm-scripts.sh

This commit is contained in:
2025-02-22 21:00:06 -06:00
parent 93a77eb6c6
commit bac8722b97

View File

@@ -734,7 +734,7 @@ MMSTATUS(){
# mmip=$(/usr/bin/dig +short +time=2 myip.opendns.com @208.67.222.222)
mmip=$(dig +short txt ch whoami.cloudflare @1.0.0.1)
mmip=${mmip//\"/}
if [ "${REALWANIP}" != "${mmip}" ] && [[ "${mmip}" != *";;"* ]]; then
if [ "${REALWANIP}" != "${mmip}" ] && [[ "${mmip}" != *"timed out"* ]]; then
echo -e "${idsCL[Green]}Good${idsCL[Default]}"
else
echo -e "${idsCL[Red]}Not Routing${idsCL[Default]}"