Update mm-scripts.sh
This commit is contained in:
@@ -647,7 +647,7 @@ MMSTATUS(){
|
|||||||
if ([ "${MM_SERVICE_PORTS[${srvc}]}" != "" ] && [ "${checkport}" != "" ]) || [ "${MM_SERVICE_PORTS[${srvc}]}" == "" ]; then
|
if ([ "${MM_SERVICE_PORTS[${srvc}]}" != "" ] && [ "${checkport}" != "" ]) || [ "${MM_SERVICE_PORTS[${srvc}]}" == "" ]; then
|
||||||
[[ ${srvc} == *"wireguard"* ]] && echo -e "${idsCL[Green]}Running${idsCL[Default]}" || echo -e "${idsCL[Green]}Running ${idsCL[Cyan]}(Port: ${MM_SERVICE_PORTS[${srvc}]})${idsCL[Default]}"
|
[[ ${srvc} == *"wireguard"* ]] && echo -e "${idsCL[Green]}Running${idsCL[Default]}" || echo -e "${idsCL[Green]}Running ${idsCL[Cyan]}(Port: ${MM_SERVICE_PORTS[${srvc}]})${idsCL[Default]}"
|
||||||
elif [ "${checkport}" == "" ]; then
|
elif [ "${checkport}" == "" ]; then
|
||||||
echo -e "${idsCL[LightMagenta]}Service Running, Web Port Not Accesible${idsCL[Default]}"
|
echo -e "${idsCL[LightMagenta]}Service Running, Web Port: ${MM_SERVICE_PORTS[${srvc}]}, Not Accesible${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${srvc} == *"vpn"* ]] || [[ ${srvc} == *"wireguard"* ]]; then
|
if [[ ${srvc} == *"vpn"* ]] || [[ ${srvc} == *"wireguard"* ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user