mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Report how many changes where made in bogons file.
This commit is contained in:
parent
3fb63eb461
commit
bae6a6730f
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user