From 9027825f6c54ca99ced4747bc4bb64ca5fc374d4 Mon Sep 17 00:00:00 2001 From: Will Sciaroni Date: Mon, 22 Mar 2021 16:49:18 -0500 Subject: [PATCH] Refactor logs for opnatt.sh to match opnSense --- bin/opnatt.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/opnatt.sh b/bin/opnatt.sh index ff404b2..b121e38 100644 --- a/bin/opnatt.sh +++ b/bin/opnatt.sh @@ -4,14 +4,14 @@ set -e ONT_IF='em0' RG_IF='em1' RG_ETHER_ADDR='xx:xx:xx:xx:xx:xx' -LOG=/var/log/pfatt.log +LOG=/var/log/opnatt.log getTimestamp(){ - echo `date "+%Y-%m-%d %H:%M:%S :: [pfatt.sh] ::"` + echo `date "+%Y-%m-%d %H:%M:%S :: [opnatt.sh] ::"` } { - echo "$(getTimestamp) pfSense + AT&T U-verse Residential Gateway for true bridge mode" + echo "$(getTimestamp) opnSense + AT&T U-verse Residential Gateway for true bridge mode" echo "$(getTimestamp) Configuration: " echo "$(getTimestamp) ONT_IF: $ONT_IF" echo "$(getTimestamp) RG_IF: $RG_IF" @@ -87,6 +87,6 @@ getTimestamp(){ /sbin/ifconfig $ONT_IF promisc echo "OK!" - echo "$(getTimestamp) ngeth0 should now be available to configure as your pfSense WAN" + echo "$(getTimestamp) ngeth0 should now be available to configure as your opnSense WAN" echo "$(getTimestamp) done!" } >> $LOG -- 2.45.2