Update mm-scripts.sh
This commit is contained in:
@@ -45,6 +45,7 @@ cw_spc=40
|
||||
|
||||
|
||||
MMSTART(){
|
||||
echo "HERE: ${action} - ${1} - ${2}"
|
||||
[ $VERBOSE = true ] && chktmstart=`date +%s`
|
||||
if [ "${1}" = "start" ] || [ "${1}" = "restart" ] || [ "${1}" = "" ]; then
|
||||
GOFORSTART=true;
|
||||
@@ -1302,7 +1303,6 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
stoppedsince=`date +%s`-$(stat -c %Y ${MMFOLDER}/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]}"
|
||||
fi
|
||||
echo "HERE: ${action} - ${1} - ${2}"
|
||||
case $action in
|
||||
start | check)
|
||||
if [ -f ${MMFOLDER}/mm.stop ] && [ "${action}" == "check" ]; then
|
||||
|
||||
Reference in New Issue
Block a user