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
case $action in
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
MMSTART;;
stop)
touch /opt/mm.stop
MMSTOP;;
update);;
*)
@@ -87,7 +93,7 @@ if [ ${action-x} ]; then
echo -e "}"
echo ""
echo ""
exit 0;;
exit 0;;z
esac
fi