Update mm-scripts.sh
This commit is contained in:
@@ -559,7 +559,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')
|
getMMbash=$(pgrep -f '/mm')
|
||||||
for i in $getMMbash; do
|
for i in $getMMbash; do
|
||||||
/bin/kill $i
|
/bin/kill $i &
|
||||||
done
|
done
|
||||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||||
}
|
}
|
||||||
@@ -1464,7 +1464,7 @@ if [ ! -f ${TMPFOLDER}/mm.update.stop ]; then
|
|||||||
test) TEST;;
|
test) TEST;;
|
||||||
stop)
|
stop)
|
||||||
MMSTOP
|
MMSTOP
|
||||||
FULLSTOP
|
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