diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-13 02:17:57 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-13 02:17:57 +0000 |
commit | 14f9c43ff30559f355651fc9b05e915b43daa35e (patch) | |
tree | 0a042d60fee9f518f8cdfea73ca9b18002e3f783 /etc/rc.update_bogons.sh | |
parent | aaa9bb12edb67463b6161c48dad0dc17f4860dcd (diff) | |
download | pfsense-14f9c43ff30559f355651fc9b05e915b43daa35e.zip pfsense-14f9c43ff30559f355651fc9b05e915b43daa35e.tar.gz |
Make uniform by renaming update_bogons.sh to rc.update_bogons.sh
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-x | etc/rc.update_bogons.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh new file mode 100755 index 0000000..36e625b --- /dev/null +++ b/etc/rc.update_bogons.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# Update bogons file +# Part of the pfSense project +# www.pfsense.com + +/etc/rc.conf_mount_rw +/usr/bin/fetch -q -o /etc/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt" +/etc/rc.conf_mount_ro +/sbin/pfctl -t bogons -T replace -f /etc/bogons |