aboutsummaryrefslogtreecommitdiffstats
path: root/boot/aaf_serv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/aaf_serv.sh')
-rw-r--r--boot/aaf_serv.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/boot/aaf_serv.sh b/boot/aaf_serv.sh
index 73d22ad3..51391b84 100644
--- a/boot/aaf_serv.sh
+++ b/boot/aaf_serv.sh
@@ -9,6 +9,15 @@
# Description: Enable service provided by daemon.
### END INIT INFO
+HTTP_PROXY=$(cat /opt/config/http_proxy.txt)
+HTTPS_PROXY=$(cat /opt/config/https_proxy.txt)
+
+if [ $HTTP_PROXY != " " ]
+then
+ export http_proxy=$HTTP_PROXY
+ export https_proxy=$HTTPS_PROXY
+fi
+
dir="/opt"
cmd="./aaf_vm_init.sh"
user="root"