profile.d/proxy.sh: new profile file added containing a template for system-wide proxy settings
This commit is contained in:
parent
e1331df284
commit
43bbf3bd3f
14
profile.d/proxy.sh
Normal file
14
profile.d/proxy.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user