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