Update mm-scripts.sh
This commit is contained in:
@@ -488,11 +488,10 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
fi
|
||||
case $action in
|
||||
start | check)
|
||||
echo 'yes'
|
||||
|
||||
if [ -f ${MMFOLDER}/mm.stop* ] && [ "${action}" = "check" ]; then
|
||||
if [ -f ${MMFOLDER}/mm.stop* ] && [ "${action}" == "check" ]; then
|
||||
if [ -f ${MMFOLDER}/mm.stop.checking ]; then
|
||||
echo 'yes'
|
||||
echo ${MMFOLDER}
|
||||
|
||||
checkstopped=`expr $(date +%s) - $(stat -c %Y ${MMFOLDER}/mm.stop.checking)`
|
||||
if [ $checkstopped -gt 900 ]; then
|
||||
|
||||
Reference in New Issue
Block a user