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