summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/proxy.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/proxy.sh b/etc/proxy.sh
new file mode 100644
index 0000000..91d8950
--- /dev/null
+++ b/etc/proxy.sh
@@ -0,0 +1,19 @@
+if test "$HTTP_PROXY" != ""; then
+ http_proxy="$HTTP_PROXY"
+fi
+if test "$HTTPS_PROXY" != ""; then
+ https_proxy="$HTTPS_PROXY"
+fi
+if test "$FTP_PROXY" != ""; then
+ ftp_proxy="$FTP_PROXY"
+fi
+if test "$ALL_PROXY" != ""; then
+ all_proxy="$ALL_PROXY"
+fi
+if test "$NO_PROXY" != ""; then
+ no_proxy="$NO_PROXY"
+fi
+
+echo "-=- debug -=-"
+set | grep -i -e "_proxy="
+echo "-=-"