From fc730f048f311b1eae8ec15c455a823a35f51576 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 23 Jan 2022 13:59:09 -0600 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 98230bb..c95913b 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -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]} {"