Update mm-scripts.sh

This commit is contained in:
2022-01-23 15:32:40 -06:00
parent 68c5e64eb8
commit a5d6018e9c

View File

@@ -117,7 +117,7 @@ MMSTATUS(){
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 being services again)${idsCL[Default]}"
echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}"
exit 0
fi
touch /opt/mm.stop
@@ -129,7 +129,7 @@ case $action in
status)
if [ -f /opt/mm.stop ]; then
echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to being services again)${idsCL[Default]}"
echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}"
echo
fi
MMSTATUS;;