diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-11-06 22:14:42 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-11-06 22:14:42 +0100 |
commit | be3644e01495751431fde7e50360ac3ca18d7c11 (patch) | |
tree | b5da803dc989a8d6e3ab01ffc0c7470e88ff550e /bin | |
parent | 21c12867a8a7cf5b6b25c4f43ee80e888ee82c6e (diff) |
rsync_proxy
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ftpsync | 3 |
1 files changed, 3 insertions, 0 deletions
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" |