Update mm-scripts.sh
This commit is contained in:
@@ -473,7 +473,7 @@ MMSTOP(){
|
|||||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
|
||||||
for srvc in "${!MM_SERVICES[@]}"; do
|
for srvc in "${!MM_SERVICES[@]}"; do
|
||||||
if [ "MM_SERVICE_PORTS[${srvc}]" != "" ]; then
|
if [ "MM_SERVICE_PORTS[${srvc}]" != "" ] && [[ ${srvc} != *"vpn"* ]] && [[ ${srvc} != *"wireguard"* ]]; then
|
||||||
checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t)
|
checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t)
|
||||||
echo "$srvc - ${MM_SERVICE_PORTS[${srvc}]} - $checkport"
|
echo "$srvc - ${MM_SERVICE_PORTS[${srvc}]} - $checkport"
|
||||||
until [ "${checkport}" == "" ]; do
|
until [ "${checkport}" == "" ]; do
|
||||||
|
|||||||
Reference in New Issue
Block a user