From 08686f89a6389d9de02e1db0fdeb75952056fc7a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 23 Feb 2023 21:43:20 -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 90d990e..9d52fcd 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -244,7 +244,7 @@ MMSTART(){ echo -e "${idsCL[Green]} done${idsCL[Default]}" echo - if [ "${1}" == "start" ]; then + if [ "${1}" == "start" ] || [ "${1}" == "restart" ]; then #echo -e "${idsCL[LightCyan]}It may take a couple of minutes before all services fully start${idsCL[Default]}" MMSTATUS fi @@ -479,7 +479,7 @@ if [ ! -f /opt/idssys/mediamanager/mm.update.stop ]; then echo -en "${idsCL[LightCyan]}Pausing for 10secs... ${idsCL[Default]}" sleep 10s echo -e "${idsCL[Green]}Done${idsCL[Default]}" - MMSTART;; + MMSTART ${action};; status) if [ -f /opt/idssys/mediamanager/mm.stop ]; then