Update mm-scripts.sh

This commit is contained in:
2023-05-30 18:08:18 -05:00
parent b318753a58
commit aa75ecb68b

View File

@@ -233,6 +233,11 @@ MMSTART(){
echo "$(date) - Could not confirm default routes, restarting system" >> $logfile
SENDNOTICE "Network Failure" "Default route failure, will try and restart the VPN" 1
touch ${TMPFOLDER}/mm.vpn.fail
echo -e "$(date) - DEFAULT ROUTES FAILURE\n-------------------------------------------------------------------" >> ${LOGFOLDER}/iproutes.log
/bin/ip r >> ${LOGFOLDER}/iproutes.log
echo -e "\n" >> ${LOGFOLDER}/iproutes.log
MMSTOP
sleep 10s
# "${VPN_START[@]}" >/dev/null 2>&1