Update mm-scripts.sh

This commit is contained in:
2023-05-29 22:17:54 -05:00
parent c594eef8b2
commit fc5dacb366

View File

@@ -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