Update mm-scripts.sh

This commit is contained in:
2022-01-23 14:01:31 -06:00
parent fc730f048f
commit aa383cb984

View File

@@ -73,11 +73,17 @@ MMSTOP(){
if [ ${action-x} ]; then if [ ${action-x} ]; then
case $action in case $action in
start | check) start | check)
if [ -f /opt/mm.stop ]; then
echo -e "${idsCL[Yellow]}The system is currently stopped${idsCL[Default]}"
exit 0
fi
touch /opt/mm.stop touch /opt/mm.stop
MMSTART;; MMSTART;;
stop) stop)
touch /opt/mm.stop touch /opt/mm.stop
MMSTOP;; MMSTOP;;
update);; update);;
*) *)
@@ -87,7 +93,7 @@ if [ ${action-x} ]; then
echo -e "}" echo -e "}"
echo "" echo ""
echo "" echo ""
exit 0;; exit 0;;z
esac esac
fi fi