Update mm-scripts.sh

This commit is contained in:
2023-02-23 20:49:01 -06:00
parent ba2fa5e617
commit 216f65f5a8

View File

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