added no proxy command line option
This commit is contained in:
2
init.sh
2
init.sh
@@ -106,7 +106,7 @@ load_configuration
|
||||
process_commandline_and_vars
|
||||
|
||||
# Declare proxy system vars if needed and if not already declared
|
||||
if [[ -n $PROXYSRV && -n $PROXYSRVPORT ]]; then
|
||||
if [[ -n $PROXYSRV && -n $PROXYSRVPORT && -z $NO_PROXY ]]; then
|
||||
export http_proxy=${http_proxy:-"http://$PROXYSRV:$PROXYSRVPORT/"}
|
||||
export https_proxy=${https_proxy:-"http://$PROXYSRV:$PROXYSRVPORT/"}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user