diff options
-rwxr-xr-x | etc/rc.update_bogons.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh index ae85b0b..8672406 100755 --- a/etc/rc.update_bogons.sh +++ b/etc/rc.update_bogons.sh @@ -14,7 +14,7 @@ process_url() { local filename=${url##*/} local ext=${filename#*.} - /usr/bin/fetch -q -o $file "${url}" + /usr/bin/fetch -a -T 30 -q -o $file "${url}" if [ ! -f $file ]; then echo "Could not download ${url}" | logger @@ -84,9 +84,9 @@ if [ "$proc_error" != "" ]; then exit fi -BOGON_V4_CKSUM=`/usr/bin/fetch -q -o - "${v4urlcksum}" | awk '{ print $4 }'` +BOGON_V4_CKSUM=`/usr/bin/fetch -T 30 -q -o - "${v4urlcksum}" | awk '{ print $4 }'` ON_DISK_V4_CKSUM=`md5 /tmp/bogons | awk '{ print $4 }'` -BOGON_V6_CKSUM=`/usr/bin/fetch -q -o - "${v6urlcksum}" | awk '{ print $4 }'` +BOGON_V6_CKSUM=`/usr/bin/fetch -T 30 -q -o - "${v6urlcksum}" | awk '{ print $4 }'` ON_DISK_V6_CKSUM=`md5 /tmp/bogonsv6 | awk '{ print $4 }'` if [ "$BOGON_V4_CKSUM" = "$ON_DISK_V4_CKSUM" ] || [ "$BOGON_V6_CKSUM" = "$ON_DISK_V6_CKSUM" ]; then |