Update mm-scripts.sh
This commit is contained in:
@@ -180,6 +180,8 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ "${1}" === "start" ] && rm -f mm.vpn.fail*
|
||||||
|
|
||||||
OUT=$(/sbin/ip link | grep "$VPN_INTERFACE")
|
OUT=$(/sbin/ip link | grep "$VPN_INTERFACE")
|
||||||
if [ ${#OUT} != 0 ]; then
|
if [ ${#OUT} != 0 ]; then
|
||||||
if [ ${GOFORSTART} = true ] || [ "${1}" == "check" ]; then
|
if [ ${GOFORSTART} = true ] || [ "${1}" == "check" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user