Update mm-scripts.sh
This commit is contained in:
@@ -133,6 +133,7 @@ MMSTART(){
|
|||||||
done
|
done
|
||||||
if [ "${scip}" != "${mmip}" ]; then
|
if [ "${scip}" != "${mmip}" ]; then
|
||||||
echo -e "${idsCL[Green]} done${idsCL[Default]}"
|
echo -e "${idsCL[Green]} done${idsCL[Default]}"
|
||||||
|
[ $VERBOSE = true ] && echo "$(date) - WAN Address: ${mmip}" >> $logfile
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Red]}Traffic is not routing through VPN, restarting system!${idsCL[Default]}"
|
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
|
echo "$(date) - Traffic is not routing through VPN, restarting system scip(${scip}) mmip(${mmip})" >> $logfile
|
||||||
|
|||||||
Reference in New Issue
Block a user