Update mm-scripts.sh

This commit is contained in:
2022-01-31 22:02:24 -06:00
parent 6d4894489d
commit 4b6401e47f

View File

@@ -38,11 +38,11 @@ MMSTART(){
checked=false
cc=0
until [ "${checked}" = "" ]; do
OUT=`ip a show $VPN_INTERFACE up >/dev/null 2>&1`;
OUT=`ip a show $VPN_INTERFACE up` >/dev/null 2>&1
if [ ${#OUT} -ne 0 ]; then
checked=""
fi
if [ "${checked}" == "false" ] && [ ${cc} -eq 60 ]; then
if [ "${checked}" == "false" ] && [ ${cc} -eq 90 ]; then
if [ -f /opt/mm.vpn.fail ]; then
touch /opt/mm.vpn.fail2
rm -f /opt/mm.vpn.fail