From 216f65f5a8fd3601aeab9d31ddc29adfee3b432f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 23 Feb 2023 20:49:01 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 47d9c74..08141eb 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -371,7 +371,7 @@ MMSTATUS(){ else echo -e "${idsCL[Green]}Running${idsCL[Default]}" - if [[ ${srvc} == *"vpn"* ]] || [[ ${srvc} == *"wireguard"* ]] || [ "${1}" = "full" ]; then + if [[ ${srvc} == *"vpn"* ]] || [[ ${srvc} == *"wireguard"* ]] || [[ "${1}" == "full" ]]; then zerogw=$(ip route show | grep 0.0.0.0 | cut -d' ' -f 3) defaultgw=$(ip route show | grep default | cut -d' ' -f 3) echo -e " |- 0.0.0.0 gateway : ${idsCL[Green]}$zerogw${idsCL[Default]}"