Update mm-scripts.sh

This commit is contained in:
2023-07-09 15:09:04 -05:00
parent 651e8c7e4d
commit f6ab05bf75

View File

@@ -581,7 +581,7 @@ FULLSTOP(){
echo -en "${idsCL[LightCyan]}Stopping background MM scripts... ${idsCL[Default]}"
getMMbash=$(pgrep -f '/mm') >/dev/null 2>&1
for i in $getMMbash; do
/bin/kill $i >/dev/null 2>&1
/bin/kill $i >/dev/null 2>&1 && echo -e "\n"
done
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
}
@@ -1579,7 +1579,7 @@ if [ ! -f ${TMPFOLDER}/mm.update.stop ]; then
test) TEST;;
stop)
MMSTOP
FULLSTOP && echo -e "\n\n"
FULLSTOP
;;
start | check)
if [ -f ${TMPFOLDER}/mm.stop ] && [ "${action}" == "check" ]; then