Update mm-scripts.sh
This commit is contained in:
@@ -117,7 +117,7 @@ MMSTATUS(){
|
|||||||
case $action in
|
case $action in
|
||||||
start | check)
|
start | check)
|
||||||
if [ -f /opt/mm.stop ] && [ "${action}" = "check" ]; then
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
touch /opt/mm.stop
|
touch /opt/mm.stop
|
||||||
@@ -129,7 +129,7 @@ case $action in
|
|||||||
|
|
||||||
status)
|
status)
|
||||||
if [ -f /opt/mm.stop ]; then
|
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
|
echo
|
||||||
fi
|
fi
|
||||||
MMSTATUS;;
|
MMSTATUS;;
|
||||||
|
|||||||
Reference in New Issue
Block a user