summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-11 13:33:53 (GMT)
committerRenato Botelho <garga@FreeBSD.org>2014-11-11 13:33:53 (GMT)
commiteacdbc4d6a41690fc6e703f767eee573c7e046c6 (patch)
tree25d5d0d4e9bc29eefbd5379b8f901f42446711cb
parent0b7dbebe406f559432f928c8208b6c5cef607e22 (diff)
downloadunivnautes-eacdbc4d6a41690fc6e703f767eee573c7e046c6.zip
univnautes-eacdbc4d6a41690fc6e703f767eee573c7e046c6.tar.gz
univnautes-eacdbc4d6a41690fc6e703f767eee573c7e046c6.tar.bz2
Revert "Ticket #3789. Put a start at using the proxyurl/proxyport from system configured settings for bogons. It still does not consider the user/pass configured"
This reverts commit 664adf3845cf1df89769bb0ed5fc113048e0912e.
-rwxr-xr-xetc/rc.update_bogons.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh
index 178d60e..d0aac9b 100755
--- a/etc/rc.update_bogons.sh
+++ b/etc/rc.update_bogons.sh
@@ -84,14 +84,6 @@ if [ "$proc_error" != "" ]; then
exit
fi
-HTTP_PROXY=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyurl)' /conf/config.xml`
-if [ "${HTTP_PROXY}" != "" ]; then
- HTTP_PROXY_PORT=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyport)' /conf/config.xml`
- if [ "${HTTP_PROXY_PORT}" != "" ]; then
- HTTP_PROXY="${HTTP_PROXY}:${HTTP_PROXY_PORT}"
- fi
- export HTTP_PROXY
-fi
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 -T 30 -q -o - "${v6urlcksum}" | awk '{ print $4 }'`