Bumped osync.sh to stable state
This commit is contained in:
parent
fb53664877
commit
2d2d06278d
|
@ -1,15 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-dev
|
PROGRAM_VERSION=1.1-dev
|
||||||
PROGRAM_BUILD=2016031002
|
PROGRAM_BUILD=2016032901
|
||||||
IS_STABLE=no
|
IS_STABLE=yes
|
||||||
|
|
||||||
## FUNC_BUILD=2016032901
|
## FUNC_BUILD=2016032901
|
||||||
## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
## 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 rsync_cmd=
|
||||||
local retval=
|
local retval=
|
||||||
|
|
||||||
|
|
||||||
if [ "$SYNC_ATTR" != "yes" ]; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
Logger "Getting file attributes." "NOTICE"
|
Logger "Getting file attributes." "NOTICE"
|
||||||
|
|
||||||
if [ "$REMOTE_OPERATION" == "yes" ]; then
|
if [ "$REMOTE_OPERATION" == "yes" ]; then
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-dev
|
PROGRAM_VERSION=1.1-dev
|
||||||
PROGRAM_BUILD=2016031002
|
PROGRAM_BUILD=2016032901
|
||||||
IS_STABLE=no
|
IS_STABLE=yes
|
||||||
|
|
||||||
source "./ofunctions.sh"
|
source "./ofunctions.sh"
|
||||||
|
|
||||||
|
@ -607,11 +603,6 @@ function sync_attrs {
|
||||||
local rsync_cmd=
|
local rsync_cmd=
|
||||||
local retval=
|
local retval=
|
||||||
|
|
||||||
|
|
||||||
if [ "$SYNC_ATTR" != "yes" ]; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
Logger "Getting file attributes." "NOTICE"
|
Logger "Getting file attributes." "NOTICE"
|
||||||
|
|
||||||
if [ "$REMOTE_OPERATION" == "yes" ]; then
|
if [ "$REMOTE_OPERATION" == "yes" ]; then
|
||||||
|
|
13
osync.sh
13
osync.sh
|
@ -1,15 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-dev
|
PROGRAM_VERSION=1.1-dev
|
||||||
PROGRAM_BUILD=2016031002
|
PROGRAM_BUILD=2016032901
|
||||||
IS_STABLE=no
|
IS_STABLE=yes
|
||||||
|
|
||||||
## FUNC_BUILD=2016032901
|
## FUNC_BUILD=2016032901
|
||||||
## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
## 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 rsync_cmd=
|
||||||
local retval=
|
local retval=
|
||||||
|
|
||||||
|
|
||||||
if [ "$SYNC_ATTR" != "yes" ]; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
Logger "Getting file attributes." "NOTICE"
|
Logger "Getting file attributes." "NOTICE"
|
||||||
|
|
||||||
if [ "$REMOTE_OPERATION" == "yes" ]; then
|
if [ "$REMOTE_OPERATION" == "yes" ]; then
|
||||||
|
|
Loading…
Reference in New Issue