diff --git a/mm-scripts.sh b/mm-scripts.sh index 4189a7f..faf423b 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -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