diff options
Diffstat (limited to 'src/scripts/11bootstrap.sh')
-rw-r--r-- | src/scripts/11bootstrap.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/scripts/11bootstrap.sh b/src/scripts/11bootstrap.sh index f0a671563..f2f6c0ae7 100644 --- a/src/scripts/11bootstrap.sh +++ b/src/scripts/11bootstrap.sh @@ -13,6 +13,17 @@ Bootstrap () { if [ ! -f "${LIVE_ROOT}"/.stage/bootstrap ] then + # Use proxy + if [ -n "${LIVE_PROXY_FTP}" ] && [ -z "${ftp_proxy}" ] + then + export ftp_proxy="${LIVE_PROXY_FTP}" + fi + + if [ -n "${LIVE_PROXY_HTTP}" ] && [ -z "${http_proxy}" ] + then + export http_proxy="${LIVE_PROXY_HTTP}" + fi + # Create chroot directory if [ ! -d "${LIVE_CHROOT}" ] then |