Update mm-scripts.sh

This commit is contained in:
2023-04-22 23:00:01 -05:00
parent c6aa673627
commit 117935d36d

View File

@@ -179,7 +179,9 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
fi
fi
fi
[ "${1}" === "start" ] && rm -f mm.vpn.fail*
OUT=$(/sbin/ip link | grep "$VPN_INTERFACE")
if [ ${#OUT} != 0 ]; then
if [ ${GOFORSTART} = true ] || [ "${1}" == "check" ]; then