Fix typos

This commit is contained in:
deajan 2014-05-21 18:44:25 +02:00
parent a47ce7f3dd
commit 2e56a880cb
2 changed files with 4 additions and 8 deletions

View File

@ -1544,17 +1544,13 @@ function Init
fi
if [ "$PRESERVE_HARDLINKS" == "yes" ]
then
RSYNC_ARGS$RSYNC_ARGS"H"
RSYNC_ARGS=$RSYNC_ARGS"H"
fi
if [ $dryrun -eq 1 ]
then
RSYNC_ARGS=$RSYNC_ARGS"n"
DRY_WARNING="/!\ DRY RUN"
fi
if [ "$RSYNC_ARGS" == "-" ]
then
RSYNC_ARGS=""
fi
if [ "$BANDWIDTH" != "" ] && [ "$BANDWIDTH" != "0" ]
then

View File

@ -11,8 +11,8 @@ SYNC_ID="sync_test"
## Directories to synchronize. Master must be on the system Osync runs on. Slave can be either a local directory, or a remote one.
MASTER_SYNC_DIR="/home/git/osync/test/dir1"
#SLAVE_SYNC_DIR="/home/git/osync/test/dir2"
SLAVE_SYNC_DIR="ssh://user@host.com:22//path/to/dir2"
SLAVE_SYNC_DIR="/home/git/osync/test/dir2"
#SLAVE_SYNC_DIR="ssh://user@host.com:22//path/to/dir2"
## If slave replica is a remote directory, you must specifiy a RSA key (please use full path). Please see documentation for further information.
SSH_RSA_PRIVATE_KEY="/home/backupuser/.ssh/id_rsa"
@ -65,7 +65,7 @@ PRESERVE_ACL=no
## Preserve Xattr. Make sure source and target FS can manage same Xattrs or you'll get loads of errors.
PRESERVE_XATTR=no
## Preserve hard links. Make sure source and target FS can manage hard links or you will lose them.
PRESERVE_HARDLINKS=yes
PRESERVE_HARDLINKS=no
## Let RSYNC compress file transfers. Do not use this if both master and slave replicas are on local system. Also, do not use this if you already enabled SSH compression.
RSYNC_COMPRESS=yes