Update mm-scripts.sh

This commit is contained in:
2022-01-31 21:47:08 -06:00
parent 172ac4ffca
commit 49cc4133e5

View File

@@ -76,6 +76,19 @@ MMSTART(){
}
MMSTOP(){
if [ "${action}" = "start" ]; then
mmsv='Starting'
echo -e "${idsCL[Green]}Starting System...${idsCL[Default]}"
elif [ "${action}" = "stop" ]; then
mmsv='Stopping'
if [ -f /opt/mm.stop ]; then
echo -e "${idsCL[Yellow]}The system is already stopped, will verify anyway,..${idsCL[Default]}"
else
echo -e "${idsCL[Green]}Stopping System...${idsCL[Default]}"
fi
echo
fi
if [ -f /opt/mm.stop ]; then
echo -e "${idsCL[Yellow]}The system is already stopped, will verify anyway${idsCL[Default]}"
echo