profile.d/proxy.sh: new profile file added containing a template for system-wide proxy settings

This commit is contained in:
Silvan Calarco 2013-04-24 16:32:32 +02:00
parent e1331df284
commit 43bbf3bd3f

14
profile.d/proxy.sh Normal file
View File

@ -0,0 +1,14 @@
#
# openmamba system-wide proxy configuration
#
#export http_proxy=http://username:password@host:port/
#export https_proxy=http://username:password@host:port/
#export ftp_proxy=http://username:password@host:port/
#export socks_proxy=http://username:password@host:port/
#export no_proxy=localhost,127.0.0.1
[ "$HTTP_PROXY" ] && export HTTP_PROXY=$http_proxy
[ "$HTTPS_PROXY" ] && export HTTPS_PROXY=$https_proxy
[ "$FTP_PROXY" ] && export FTP_PROXY=$ftp_proxy
[ "$SOCKS_PROXY" ] && export SOCKS_PROXY=$socks_proxy
[ "$NO_PROXY" ] && export NO_PROXY=$no_proxy