Update mm-scripts.sh

This commit is contained in:
2025-02-22 20:56:28 -06:00
parent dc241cead7
commit e9419fdbb7

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}" ]; then
if [ "${REALWANIP}" != "${mmip}" ] && [[ "${mmip}" != ";;"* ]]; then
echo -e "${idsCL[Green]}Good${idsCL[Default]}"
else
echo -e "${idsCL[Red]}Not Routing${idsCL[Default]}"