From aa75ecb68b42a32eda0d9f61baca4b19a4f5697e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 30 May 2023 18:08:18 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 5 +++++ 1 file changed, 5 insertions(+) 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