Update mm-scripts.sh
This commit is contained in:
@@ -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[Default]}"
|
||||
echo -e "${idsCL[Yellow]}The system is currently stopped (You must run \"mm start\" to being 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[Default]}"
|
||||
echo -e "${idsCL[Yellow]}The system is currently stopped (You must run \"mm start\" to being services again)${idsCL[Default]}"
|
||||
echo
|
||||
fi
|
||||
MMSTATUS;;
|
||||
|
||||
Reference in New Issue
Block a user