Update mm-scripts.sh
This commit is contained in:
@@ -233,6 +233,11 @@ MMSTART(){
|
|||||||
echo "$(date) - Could not confirm default routes, restarting system" >> $logfile
|
echo "$(date) - Could not confirm default routes, restarting system" >> $logfile
|
||||||
SENDNOTICE "Network Failure" "Default route failure, will try and restart the VPN" 1
|
SENDNOTICE "Network Failure" "Default route failure, will try and restart the VPN" 1
|
||||||
touch ${TMPFOLDER}/mm.vpn.fail
|
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
|
MMSTOP
|
||||||
sleep 10s
|
sleep 10s
|
||||||
# "${VPN_START[@]}" >/dev/null 2>&1
|
# "${VPN_START[@]}" >/dev/null 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user