Report how many changes where made in bogons file.

This commit is contained in:
Scott Ullrich 2007-11-27 22:20:09 +00:00
parent 3fb63eb461
commit bae6a6730f

View File

@ -18,6 +18,7 @@ if [ ! -f /tmp/bogons ]; then
fi
egrep -v "^192.168.0.0/16|^172.16.0.0/12|^10.0.0.0/8" /tmp/bogons > /etc/bogons
/etc/rc.conf_mount_ro
/sbin/pfctl -t bogons -T replace -f /etc/bogons
RESULT=`/sbin/pfctl -t bogons -T replace -f /etc/bogons 2>&1`
rm /tmp/bogons
echo "Bogons file downloaded: $RESULT" | logger