From 5f8cfd496a35fe4cb649db1ccafb2c35a99e62ad Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 23 Jan 2022 15:30:32 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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);;