diff --git a/mm-scripts.sh b/mm-scripts.sh index d1fb5e9..1cda38d 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -127,7 +127,12 @@ case $action in touch /opt/mm.stop MMSTOP;; - status) MMSTATUS;; + status) + if [ -f /opt/mm.stop ]; then + echo -e "${idsCL[Yellow]}The system is currently stopped${idsCL[Default]}" + exit 0 + fi + MMSTATUS;; update);;