Update mm-scripts.sh
This commit is contained in:
@@ -489,6 +489,7 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
|||||||
case $action in
|
case $action in
|
||||||
start | check)
|
start | check)
|
||||||
if [ -f ${MMFOLDER}/mm.stop* ] && [ "${action}" == "check" ]; then
|
if [ -f ${MMFOLDER}/mm.stop* ] && [ "${action}" == "check" ]; then
|
||||||
|
echo 'yes'
|
||||||
echo -e "${stopmsg}"
|
echo -e "${stopmsg}"
|
||||||
# [ $VERBOSE = true ] && echo "$(date) - Not checking, system has been stopped" >> $logfile
|
# [ $VERBOSE = true ] && echo "$(date) - Not checking, system has been stopped" >> $logfile
|
||||||
echo
|
echo
|
||||||
@@ -512,7 +513,6 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo 'yes'
|
|
||||||
[ "${action}" != "status" ] && touch ${MMFOLDER}/mm.stop.checking
|
[ "${action}" != "status" ] && touch ${MMFOLDER}/mm.stop.checking
|
||||||
MMSTART ${action} ${2}
|
MMSTART ${action} ${2}
|
||||||
[ "${action}" != "status" ] && rm -f ${MMFOLDER}/mm.stop.checking
|
[ "${action}" != "status" ] && rm -f ${MMFOLDER}/mm.stop.checking
|
||||||
|
|||||||
Reference in New Issue
Block a user