Update mm-scripts.sh
This commit is contained in:
@@ -348,7 +348,7 @@ MMSTATUS(){
|
|||||||
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
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)
|
# zerogw=$(ip route show | grep 0.0.0.0 | cut -d' ' -f 3)
|
||||||
# defaultgw=$(ip route show | grep default | cut -d' ' -f 3)
|
# defaultgw=$(ip route show | grep default | cut -d' ' -f 3)
|
||||||
# echo -e " |- 0.0.0.0 gateway --> (${zerogw})"
|
# echo -e " |- 0.0.0.0 gateway --> (${zerogw})"
|
||||||
|
|||||||
Reference in New Issue
Block a user