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