Update mm-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user