RSYNC="rsync"
RSYNC_BASE_OPTIONS="-rtvz --delete --links --hard-links --safe-links"
RSYNC_SSH_OPTIONS="ssh -o AddressFamily=inet -o BatchMode=yes"
LOGDIR="$HOME/logs"
RSYNC="rsync"
RSYNC_BASE_OPTIONS="-rtvz --delete --links --hard-links --safe-links"
RSYNC_SSH_OPTIONS="ssh -o AddressFamily=inet -o BatchMode=yes"
LOGDIR="$HOME/logs"
if [ -e "$rsync_curactive/.serial" ] && [ -n "$SYNC_SERIAL" ] && [ "$(cat $rsync_curactive/.serial)" = "$SYNC_SERIAL" ]; then
log "active is already at serial $SYNC_SERIAL. No action required."
if [ -e "$rsync_curactive/.serial" ] && [ -n "$SYNC_SERIAL" ] && [ "$(cat $rsync_curactive/.serial)" = "$SYNC_SERIAL" ]; then
log "active is already at serial $SYNC_SERIAL. No action required."