setup/profile.d/proxy.sh

15 lines
559 B
Bash
Raw Normal View History

#
# 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