aboutsummaryrefslogtreecommitdiffstats
path: root/boot/sdnc_serv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot/sdnc_serv.sh')
-rw-r--r--boot/sdnc_serv.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/boot/sdnc_serv.sh b/boot/sdnc_serv.sh
index 58f03f1c..cce2039c 100644
--- a/boot/sdnc_serv.sh
+++ b/boot/sdnc_serv.sh
@@ -8,6 +8,14 @@
# Short-Description: Start daemon at boot time
# 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="./sdnc_vm_init.sh"