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