From 43bbf3bd3f4d8d829feaa7043194df95a9d60c30 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 24 Apr 2013 16:32:32 +0200 Subject: [PATCH] profile.d/proxy.sh: new profile file added containing a template for system-wide proxy settings --- profile.d/proxy.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 profile.d/proxy.sh diff --git a/profile.d/proxy.sh b/profile.d/proxy.sh new file mode 100644 index 0000000..ce87eea --- /dev/null +++ b/profile.d/proxy.sh @@ -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