From be3644e01495751431fde7e50360ac3ca18d7c11 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Thu, 6 Nov 2008 22:14:42 +0100 Subject: rsync_proxy Signed-off-by: Joerg Jaspert --- bin/ftpsync | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/ftpsync b/bin/ftpsync index 9cdc160..3eef748 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -247,6 +247,8 @@ RSYNC_USER=${RSYNC_USER:-""} # the password RSYNC_PASSWORD=${RSYNC_PASSWORD:-""} +# a possible proxy +RSYNC_PROXY=${RSYNC_PROXY:-""} # Do we sync stage1? SYNCSTAGE1=${SYNCSTAGE1:-"false"} @@ -355,6 +357,7 @@ fi # Now do the actual mirroring, and run as long as we have an updaterequired file. export RSYNC_PASSWORD +export RSYNC_PROXY while [ -e "${UPDATEREQUIRED}" ]; do log "Running mirrorsync, update is required, ${UPDATEREQUIRED} exists" -- cgit v1.2.3