From 2d2d06278dab13e0a5611a23590e23b5408a5dfb Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 29 Mar 2016 23:05:32 +0200 Subject: [PATCH] Bumped osync.sh to stable state --- dev/debug_osync.sh | 13 ++----------- dev/n_osync.sh | 13 ++----------- osync.sh | 13 ++----------- 3 files changed, 6 insertions(+), 33 deletions(-) diff --git a/dev/debug_osync.sh b/dev/debug_osync.sh index 42402e6..64e0001 100755 --- a/dev/debug_osync.sh +++ b/dev/debug_osync.sh @@ -1,15 +1,11 @@ #!/usr/bin/env bash -#TODO: clock compare in doc -#TODO: explain why osync is lowband friendly in doc -#TODO: explain why osync daemon process can still exist after quit for 30s - PROGRAM="osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(C) 2013-2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" PROGRAM_VERSION=1.1-dev -PROGRAM_BUILD=2016031002 -IS_STABLE=no +PROGRAM_BUILD=2016032901 +IS_STABLE=yes ## FUNC_BUILD=2016032901 ## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr @@ -1629,11 +1625,6 @@ function sync_attrs { local rsync_cmd= local retval= - - if [ "$SYNC_ATTR" != "yes" ]; then - return 0 - fi - Logger "Getting file attributes." "NOTICE" if [ "$REMOTE_OPERATION" == "yes" ]; then diff --git a/dev/n_osync.sh b/dev/n_osync.sh index 1a62240..cfee2f6 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -1,15 +1,11 @@ #!/usr/bin/env bash -#TODO: clock compare in doc -#TODO: explain why osync is lowband friendly in doc -#TODO: explain why osync daemon process can still exist after quit for 30s - PROGRAM="osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(C) 2013-2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" PROGRAM_VERSION=1.1-dev -PROGRAM_BUILD=2016031002 -IS_STABLE=no +PROGRAM_BUILD=2016032901 +IS_STABLE=yes source "./ofunctions.sh" @@ -607,11 +603,6 @@ function sync_attrs { local rsync_cmd= local retval= - - if [ "$SYNC_ATTR" != "yes" ]; then - return 0 - fi - Logger "Getting file attributes." "NOTICE" if [ "$REMOTE_OPERATION" == "yes" ]; then diff --git a/osync.sh b/osync.sh index 9927b0b..7a40479 100755 --- a/osync.sh +++ b/osync.sh @@ -1,15 +1,11 @@ #!/usr/bin/env bash -#TODO: clock compare in doc -#TODO: explain why osync is lowband friendly in doc -#TODO: explain why osync daemon process can still exist after quit for 30s - PROGRAM="osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(C) 2013-2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" PROGRAM_VERSION=1.1-dev -PROGRAM_BUILD=2016031002 -IS_STABLE=no +PROGRAM_BUILD=2016032901 +IS_STABLE=yes ## FUNC_BUILD=2016032901 ## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr @@ -1532,11 +1528,6 @@ function sync_attrs { local rsync_cmd= local retval= - - if [ "$SYNC_ATTR" != "yes" ]; then - return 0 - fi - Logger "Getting file attributes." "NOTICE" if [ "$REMOTE_OPERATION" == "yes" ]; then