Update mm-scripts.sh

This commit is contained in:
2022-06-05 17:59:04 -05:00
parent b4eb670419
commit 500799b2ea

View File

@@ -133,6 +133,7 @@ MMSTART(){
done
if [ "${scip}" != "${mmip}" ]; then
echo -e "${idsCL[Green]} done${idsCL[Default]}"
[ $VERBOSE = true ] && echo "$(date) - WAN Address: ${mmip}" >> $logfile
else
echo -e "${idsCL[Red]}Traffic is not routing through VPN, restarting system!${idsCL[Default]}"
echo "$(date) - Traffic is not routing through VPN, restarting system scip(${scip}) mmip(${mmip})" >> $logfile