Update mm-scripts.sh

This commit is contained in:
2022-01-23 13:59:09 -06:00
parent c0af9e32f9
commit fc730f048f

View File

@@ -69,26 +69,6 @@ MMSTOP(){
}
if [[ ${1} = "start" ]]; then
touch /opt/mm.stop
MMSTART
elif [[ ${1} = "stop" ]]; then
touch /opt/mm.stop
MMSTOP
elif [ ! -f /opt/mm.stop ]; then
if [[ ${#OUT} = 0 ]]; then
touch /opt/mm.stop
MMSTOP
MMSTART
elif [ ! -f /opt/mm.stop ]; then
touch /opt/mm.stop
MMSTART
fi
fi
if [ ${action-x} ]; then
case $action in
@@ -98,6 +78,7 @@ if [ ${action-x} ]; then
stop)
touch /opt/mm.stop
MMSTOP;;
update);;
*)
echo -e "Usage: ${idsCL[LightCyan]}mm${idsCL[Default]} {"