X-Git-Url: https://code.delx.au/osx-proxyconf/blobdiff_plain/00753391a2870d115009501ce763a6cf5b75341e..0d8f59d3f2a491918cb4221ed49b45f760cac97f:/proxyconf.sh diff --git a/proxyconf.sh b/proxyconf.sh deleted file mode 100755 index 78b537c..0000000 --- a/proxyconf.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -if [ "$(sysconfig "HTTPEnable")" -eq 1 ]; then - host="$(sysconfig "HTTPProxy")" - port="$(sysconfig "HTTPPort")" - echo "export http_proxy=\"http://${host}:${port}\"" -fi -if [ "$(sysconfig "HTTPSEnable")" -eq 1 ]; then - host="$(sysconfig "HTTPSProxy")" - port="$(sysconfig "HTTPSPort")" - echo "export https_proxy=\"http://${host}:${port}\"" -fi -if [ "$(sysconfig "FTPEnable")" -eq 1 ]; then - host="$(sysconfig "FTPProxy")" - port="$(sysconfig "FTPPort")" - echo "export ftp_proxy=\"http://${host}:${port}\"" -fi