From ba2fa5e6172fda13b8d8fbb1f9f5c5724fe97762 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 23 Feb 2023 20:47:23 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 33eb405..47d9c74 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -246,7 +246,7 @@ MMSTART(){ if [ "${1}" == "start" ]; then #echo -e "${idsCL[LightCyan]}It may take a couple of minutes before all services fully start${idsCL[Default]}" - MMSTATUS + MMSTATUS full fi if [ -f /opt/idssys/mediamanager/mm.vpn.fail* ]; then echo "$(date) - VPN issue has been fixed" >> $logfile @@ -371,7 +371,7 @@ MMSTATUS(){ else echo -e "${idsCL[Green]}Running${idsCL[Default]}" - if [[ ${srvc} == *"vpn"* ]] || [[ ${srvc} == *"wireguard"* ]]; 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]}"