diff --git a/README.md b/README.md index f816cca..624ac84 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ osync uses pidlocks to prevent multiple concurrent sync processes on/to the same You may launch concurrent sync processes on the same system but as long as the replicas to synchronize are different. Multiple osync tasks may be launched sequentially by osync osync-batch tool. -Currently, it has been tested on CentOS 5.x, 6.x, 7.x, Fedora 22-25, Debian 6-8, Linux Mint 14-18, Ubuntu 12.04-12.10, FreeBSD 8.3-11, Mac OS X and pfSense 2.3.x. +Currently, it has been tested on CentOS 5.x, 6.x, 7.x, Fedora 22-25, Debian 6-8, Linux Mint 14-18, Ubuntu 12.04-12.10, FreeBSD 8.3-11, Mac OS X, QTS 4.5.1(x86) and pfSense 2.3.x. Microsoft Windows is supported via MSYS or Cygwin and now via Windows 10 bash. Android support works via Termux. Some users also have successfully used osync on Gentoo and created an openRC init scriptt for it. diff --git a/install.sh b/install.sh index 7872ec1..8746566 100755 --- a/install.sh +++ b/install.sh @@ -483,6 +483,9 @@ function GetLocalOS { *"Android"*) LOCAL_OS="Android" ;; + *"qnap"*) + LOCAL_OS="Qnap" + ;; *"Linux"*) LOCAL_OS="Linux" ;; @@ -1630,6 +1633,9 @@ function GetLocalOS { *"Android"*) LOCAL_OS="Android" ;; + *"qnap"*) + LOCAL_OS="Qnap" + ;; *"Linux"*) LOCAL_OS="Linux" ;; @@ -1802,6 +1808,9 @@ ENDSSH *"Android"*) REMOTE_OS="Android" ;; + *"qnap"*) + REMOTE_OS="Qnap" + ;; *"Linux"*) REMOTE_OS="Linux" ;; diff --git a/osync-batch.sh b/osync-batch.sh index f688df2..5f82aa1 100755 --- a/osync-batch.sh +++ b/osync-batch.sh @@ -1255,6 +1255,9 @@ function GetLocalOS { *"Android"*) LOCAL_OS="Android" ;; + *"qnap"*) + LOCAL_OS="Qnap" + ;; *"Linux"*) LOCAL_OS="Linux" ;; @@ -1427,6 +1430,9 @@ ENDSSH *"Android"*) REMOTE_OS="Android" ;; + *"qnap"*) + REMOTE_OS="Qnap" + ;; *"Linux"*) REMOTE_OS="Linux" ;; diff --git a/osync.sh b/osync.sh index 9257e20..3a9dd39 100755 --- a/osync.sh +++ b/osync.sh @@ -1395,6 +1395,9 @@ function GetLocalOS { *"Android"*) LOCAL_OS="Android" ;; + *"qnap"*) + LOCAL_OS="Qnap" + ;; *"Linux"*) LOCAL_OS="Linux" ;; @@ -1565,6 +1568,9 @@ ENDSSH *"Android"*) REMOTE_OS="Android" ;; + *"qnap"*) + REMOTE_OS="Qnap" + ;; *"Linux"*) REMOTE_OS="Linux" ;; @@ -5086,7 +5092,7 @@ function _SoftDeleteLocal { local retval - if [ "$LOCAL_OS" == "Busybox" ] || [ "$LOCAL_OS" == "Android" ]; then + if [ "$LOCAL_OS" == "Busybox" ] || [ "$LOCAL_OS" == "Android" ] || [ "$LOCAL_OS" == "Qnap" ]; then Logger "Skipping $deletionType deletion on $replicaType. Busybox find -ctime not supported." "NOTICE" return 0 fi @@ -5138,7 +5144,7 @@ function _SoftDeleteRemote { local retval - if [ "$REMOTE_OS" == "BusyBox" ] || [ "$REMOTE_OS" == "Android" ]; then + if [ "$REMOTE_OS" == "BusyBox" ] || [ "$REMOTE_OS" == "Android" ] || [ "$REMOTE_OS" == "Qnap" ]; then Logger "Skipping $deletionType deletion on $replicaType. Busybox find -ctime not supported." "NOTICE" return 0 fi