Révision 992f60d0
Ajouté par Renato Botelho il y a plus de 9 ans
root/.tcshrc | ||
---|---|---|
19 | 19 |
bindkey "\e[7~" beginning-of-line # Home rxvt/konsole |
20 | 20 |
bindkey "\e[8~" end-of-line # End rxvt/konsole |
21 | 21 |
endif |
22 |
|
|
23 |
set http_proxy=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyurl)' /conf/config.xml` |
|
24 |
if (${http_proxy} != "") then |
|
25 |
set http_proxy_port=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyport)' /conf/config.xml` |
|
26 |
if (${http_proxy_port} != "") then |
|
27 |
set http_proxy="${http_proxy}:${http_proxy_port}" |
|
28 |
endif |
|
29 |
setenv HTTP_PROXY ${http_proxy} |
|
30 |
endif |
Formats disponibles : Unified diff
Set proxy env vars on interactive shell and also on crontab to make all scripts be able to use it. Ticket #3789