Update mm-scripts.sh
This commit is contained in:
@@ -322,7 +322,7 @@ if [ ! -f /opt/mm.update.stop ]; then
|
||||
case $action in
|
||||
start | check)
|
||||
if [ -f /opt/mm.stop ] && [ "${action}" = "check" ]; then
|
||||
echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}"
|
||||
echo -e "${stopmsg}"
|
||||
# [ $VERBOSE = true ] && echo "$(date) - Not checking, system has been stopped" >> $logfile
|
||||
echo
|
||||
exit 1
|
||||
@@ -335,7 +335,7 @@ if [ ! -f /opt/mm.update.stop ]; then
|
||||
|
||||
restart)
|
||||
if [ -f /opt/mm.stop ]; then
|
||||
echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}"
|
||||
echo -e "${stopmsg}"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
@@ -345,7 +345,7 @@ if [ ! -f /opt/mm.update.stop ]; then
|
||||
|
||||
status)
|
||||
if [ -f /opt/mm.stop ]; then
|
||||
echo -e "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}"
|
||||
echo -e "${stopmsg}"
|
||||
echo
|
||||
fi
|
||||
MMSTATUS;;
|
||||
|
||||
Reference in New Issue
Block a user