Update mm-scripts.sh

This commit is contained in:
2022-07-24 19:26:28 -05:00
parent d625d5350c
commit b6a7523b75

View File

@@ -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;;