1
0
mirror of https://github.com/limosek/zaf.git synced 2025-11-01 01:57:38 +01:00

Added proxy setting support

This commit is contained in:
Lukas Macura
2016-11-30 16:40:26 +01:00
parent 6697df6519
commit b535eb58e2
2 changed files with 12 additions and 0 deletions

4
zaf
View File

@@ -25,6 +25,10 @@ ZAF_CFG_FILE="/etc/zaf.conf"
[ -n "$secondstage" ] && exec $0 $params
fi
if [ -n "$ZAF_PROXY" ]; then
export ALL_PROXY="$ZAF_PROXY"
fi
if [ -f ./lib/zaf.lib.sh ]; then
. ./lib/zaf.lib.sh
. ./lib/plugin.lib.sh