Update mm-scripts.sh

This commit is contained in:
2023-03-23 15:09:53 -05:00
parent 3a026533c4
commit 545f92d03e

View File

@@ -208,10 +208,10 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
[ $VERBOSE = true ] && echo "$(date) - Default Routes: zerogw(${zerogw}) defaultgw(${defaultgw})" >> $logfile
SENDNOTICE "Network Failure" "Cannot get an WAN address, will try and restart the VPN" 1
touch ${MMFOLDER}/mm.vpn.fail
MMSTOP
MMSTOP >/dev/null 2>&1
sleep 30s
"${VPN_START[@]}" >/dev/null 2>&1
sleep 10s
# "${VPN_START[@]}" >/dev/null 2>&1
# sleep 10s
rm -f ${MMFOLDER}/mm.stop*
[ $VERBOSE = true ] && DEBUGLOGSTOP
exit 1