Update mm-scripts.sh

This commit is contained in:
2023-02-20 22:04:45 -06:00
parent f1b020d583
commit 91a2baa5dc

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})"