+++ /dev/null
-#!/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