Update mm-scripts.sh

This commit is contained in:
2022-01-31 21:58:43 -06:00
parent e43b68734d
commit 42fcc3b657

View File

@@ -20,7 +20,7 @@ IFS=,
SERVICES_CHECK=(${SERVICESCHECK})
unset IFS
#OUT=`ip a show $VPN_INTERFACE up`;
#OUT=`ip a show $VPN_INTERFACE up >/dev/null 2>&1`;
MMSTART(){
if [ "${action}" = "start" ]; then
@@ -38,7 +38,7 @@ MMSTART(){
checked=false
cc=0
until [ "${checked}" = "" ]; do
OUT=`ip a show $VPN_INTERFACE up`;
OUT=`ip a show $VPN_INTERFACE up >/dev/null 2>&1`;
if [ ${#OUT} -ne 0 ]; then
checked=""
fi