Add password support

This commit is contained in:
David Bartley 2008-03-01 14:44:28 -05:00
parent 8eeefaca6a
commit 8bdbcff6af
2 changed files with 8 additions and 4 deletions

View File

@ -113,8 +113,10 @@ LOCK_TIMEOUT=360
# uncomment the following lines (and edit the other file).
# . ftpsync.conf
# export RSYNC_PASSWORD
# RSYNC_HOST=$RSYNC_USER@$RSYNC_HOST
export RSYNC_PASSWORD
if [[ "$RSYNC_USER" != "" ]]; then
RSYNC_HOST=$RSYNC_USER@$RSYNC_HOST
fi
#-----------------------------------------------------------------------------#

View File

@ -33,8 +33,10 @@ LOCK_TIMEOUT=360
# uncomment the following lines (and edit the other file).
# . ftpsync.conf
# export RSYNC_PASSWORD
# RSYNC_HOST=$RSYNC_USER@$RSYNC_HOST
export RSYNC_PASSWORD
if [[ "$RSYNC_USER" != "" ]]; then
RSYNC_HOST=$RSYNC_USER@$RSYNC_HOST
fi
#-----------------------------------------------------------------------------#