summaryrefslogtreecommitdiffstats
path: root/src/root/.shrc
diff options
context:
space:
mode:
Diffstat (limited to 'src/root/.shrc')
-rw-r--r--src/root/.shrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/root/.shrc b/src/root/.shrc
index 6f3c2fc..d3c9208 100644
--- a/src/root/.shrc
+++ b/src/root/.shrc
@@ -1,6 +1,6 @@
-HTTP_PROXY=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyurl)' /conf/config.xml`
+HTTP_PROXY=`/usr/local/sbin/read_xml_tag.sh string system/proxyurl`
if [ "${HTTP_PROXY}" != "" ]; then
- HTTP_PROXY_PORT=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyport)' /conf/config.xml`
+ HTTP_PROXY_PORT=`/usr/local/sbin/read_xml_tag.sh string system/proxyport`
if [ "${HTTP_PROXY_PORT}" != "" ]; then
HTTP_PROXY="${HTTP_PROXY}:${HTTP_PROXY_PORT}"
fi
OpenPOWER on IntegriCloud