Update mm-scripts.sh

This commit is contained in:
2022-06-05 18:00:19 -05:00
parent 500799b2ea
commit 2ed6d1b631

View File

@@ -133,7 +133,7 @@ MMSTART(){
done
if [ "${scip}" != "${mmip}" ]; then
echo -e "${idsCL[Green]} done${idsCL[Default]}"
[ $VERBOSE = true ] && echo "$(date) - WAN Address: ${mmip}" >> $logfile
[ $VERBOSE = true ] && echo "$(date) - WAN Address: ${mmip} - GW Address: ${defaultgw}" >> $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