diff options
author | jim-p <jimp@pfsense.org> | 2012-01-03 15:05:39 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-01-03 15:05:39 -0500 |
commit | f6f9f8152293ccd921715d94c609eddd196cf5cf (patch) | |
tree | e5cf4d9fa1464e91b4b8bb785846f8397721eee5 /etc/rc.update_bogons.sh | |
parent | c36fa056e3af08d2093c2e8bed638b4071be409b (diff) | |
download | pfsense-f6f9f8152293ccd921715d94c609eddd196cf5cf.zip pfsense-f6f9f8152293ccd921715d94c609eddd196cf5cf.tar.gz |
rm the right file when working with v6 bogons.
Reported-by: http://forum.pfsense.org/index.php?topic=43334.new;topicseen#new
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-x | etc/rc.update_bogons.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh index 52ec92f..aec80a1 100755 --- a/etc/rc.update_bogons.sh +++ b/etc/rc.update_bogons.sh @@ -57,7 +57,7 @@ if [ "$BOGON_MD5" = "$ON_DISK_MD5" ]; then egrep -v "^#" /tmp/bogonsv6 > /etc/bogonsv6 /etc/rc.conf_mount_ro RESULT=`/sbin/pfctl -t bogonsv6 -T replace -f /etc/bogonsv6 2>&1` - rm /tmp/bogons + rm /tmp/bogonsv6 echo "Bogons files downloaded: $RESULT" | logger else echo "Could not download http://files.pfsense.org/mirrors/fullbogons-ipv6.txt.md5 (md5 mismatch)" | logger |