Update mm-scripts.sh
This commit is contained in:
@@ -174,6 +174,10 @@ case $action in
|
|||||||
stop)
|
stop)
|
||||||
MMSTOP;;
|
MMSTOP;;
|
||||||
|
|
||||||
|
restart)
|
||||||
|
MMSTOP
|
||||||
|
MMSTART;;
|
||||||
|
|
||||||
status)
|
status)
|
||||||
if [ -f /opt/mm.stop ]; then
|
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 "${idsCL[Yellow]}The system is currently stopped ${idsCL[LightCyan]}(You must run \"mm start\" to start services again)${idsCL[Default]}"
|
||||||
@@ -187,6 +191,7 @@ case $action in
|
|||||||
echo -e "Usage: ${idsCL[LightCyan]}mm${idsCL[Default]} {"
|
echo -e "Usage: ${idsCL[LightCyan]}mm${idsCL[Default]} {"
|
||||||
echo -e " ${idsCL[Yellow]}start${idsCL[Default]} --> Start services"
|
echo -e " ${idsCL[Yellow]}start${idsCL[Default]} --> Start services"
|
||||||
echo -e " ${idsCL[Yellow]}stop${idsCL[Default]} --> Stop services"
|
echo -e " ${idsCL[Yellow]}stop${idsCL[Default]} --> Stop services"
|
||||||
|
echo -e " ${idsCL[Yellow]}restart${idsCL[Default]} --> Restart services"
|
||||||
echo -e " ${idsCL[Yellow]}check${idsCL[Default]} --> Check for VPN and start services if needed"
|
echo -e " ${idsCL[Yellow]}check${idsCL[Default]} --> Check for VPN and start services if needed"
|
||||||
echo -e " ${idsCL[Yellow]}status${idsCL[Default]} --> Check service status"
|
echo -e " ${idsCL[Yellow]}status${idsCL[Default]} --> Check service status"
|
||||||
echo -e "}"
|
echo -e "}"
|
||||||
|
|||||||
Reference in New Issue
Block a user