Update mm-scripts.sh

This commit is contained in:
2023-02-23 21:30:19 -06:00
parent 5258654a5b
commit e550b08498

View File

@@ -388,6 +388,7 @@ MMSTATUS(){
sleep 30s
MMSTART
echo -e " ${NM_SERVICES[${srvc}]}$spc: ${idsCL[Green]}Running${idsCL[Default]}"
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]}"