diff --git a/mm-scripts.sh b/mm-scripts.sh index 4ff6b26..98fdc1f 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -322,7 +322,7 @@ if [ ! -f /opt/mm.update.stop ]; then case $action in start | check) if [ -f /opt/mm.stop ] && [ "${action}" = "check" ]; then - echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}" + echo -e "${stopmsg}" # [ $VERBOSE = true ] && echo "$(date) - Not checking, system has been stopped" >> $logfile echo exit 1 @@ -335,7 +335,7 @@ if [ ! -f /opt/mm.update.stop ]; then restart) if [ -f /opt/mm.stop ]; then - echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}" + echo -e "${stopmsg}" echo exit 1 fi @@ -345,7 +345,7 @@ if [ ! -f /opt/mm.update.stop ]; then status) if [ -f /opt/mm.stop ]; then - echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}" + echo -e "${stopmsg}" echo fi MMSTATUS;;