diff --git a/mm-scripts.sh b/mm-scripts.sh index a772729..0de991f 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -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