diff --git a/mm-scripts.sh b/mm-scripts.sh index eda5181..27f76f8 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -1454,7 +1454,15 @@ if [ ! -f ${TMPFOLDER}/mm.update.stop ]; then vpninfo) GETVPNINFO;; speedtest) VPNSPEEDTEST;; test) TEST;; - stop) MMSTOP;; + stop) + MMSTOP + echo -en "${idsCL[LightCyan]}Stopping background MM scripts... ${idsCL[Default]}" + getMMbash=$(pgrep -f '/mm') + for i in $getMMbash; do + /bin/kill $i + done + echo -e "${idsCL[Green]}Done${idsCL[Default]}" + ;; start | check) if [ -f ${TMPFOLDER}/mm.stop ] && [ "${action}" == "check" ]; then if [ "${2}" != "q" ]; then