Update mm-scripts.sh

This commit is contained in:
2023-02-20 22:06:12 -06:00
parent 91a2baa5dc
commit c642ad6174

View File

@@ -348,7 +348,7 @@ MMSTATUS(){
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
else
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
if [[ ${srvc} == *"vpn"* ]] && [[ ${srvc} == *"wireguard"* ]]; then
if [[ ${srvc} == *"vpn"* ]] || [[ ${srvc} == *"wireguard"* ]]; 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 --> (${zerogw})"