summaryrefslogtreecommitdiffstats
path: root/src/root/.tcshrc
diff options
context:
space:
mode:
Diffstat (limited to 'src/root/.tcshrc')
-rw-r--r--src/root/.tcshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/root/.tcshrc b/src/root/.tcshrc
index 38cf897..a643e3b 100644
--- a/src/root/.tcshrc
+++ b/src/root/.tcshrc
@@ -20,9 +20,9 @@ if ($term == "xterm" || $term == "vt100" || $term == "vt102" || $term == "vt220"
bindkey "\e[8~" end-of-line # End rxvt/konsole
endif
-set http_proxy=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyurl)' /conf/config.xml`
+set http_proxy=`/usr/local/sbin/read_xml_tag.sh string system/proxyurl`
if (${http_proxy} != "") then
- set http_proxy_port=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyport)' /conf/config.xml`
+ set http_proxy_port=`/usr/local/sbin/read_xml_tag.sh string system/proxyport`
if (${http_proxy_port} != "") then
set http_proxy="${http_proxy}:${http_proxy_port}"
endif
OpenPOWER on IntegriCloud