Update mm-scripts.sh
This commit is contained in:
@@ -1704,7 +1704,7 @@ TEST(){
|
|||||||
|
|
||||||
if [ ! -f ${TMPFOLDER}/mm.update.stop ]; then
|
if [ ! -f ${TMPFOLDER}/mm.update.stop ]; then
|
||||||
if [ -f ${TMPFOLDER}/mm.stop ]; then
|
if [ -f ${TMPFOLDER}/mm.stop ]; then
|
||||||
stoppedsince=`date +%s`-$(stat -c %Y ${TMPFOLDER}/mm.stop)
|
stoppedsince=$(expr `date +%s` - $(stat -c %Y ${TMPFOLDER}/mm.stop))
|
||||||
stopmsg="${idsCL[Yellow]}The system has currently been stopped for '$(SHOW_TIME ${stoppedsince})'.\n${idsCL[LightCyan]}(You'll need to run \"mm start\" to start services again)${idsCL[Default]}"
|
stopmsg="${idsCL[Yellow]}The system has currently been stopped for '$(SHOW_TIME ${stoppedsince})'.\n${idsCL[LightCyan]}(You'll need to run \"mm start\" to start services again)${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
case $action in
|
case $action in
|
||||||
|
|||||||
Reference in New Issue
Block a user