Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/buildscripts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-07-16 15:31:24 +0300
committerJo-Philipp Wich <jow@openwrt.org>2015-07-16 15:31:24 +0300
commit94455fc75390683fcc9612a26f05095c7eee7f16 (patch)
treec1597f265f542050ce9895eec58c0a7531e662df
parent1e392367a656dcc93ff8697b52704a5b4afdda82 (diff)
functions.sh: tune rsync invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rwxr-xr-xshared/functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/functions.sh b/shared/functions.sh
index a749e2f..6d819a3 100755
--- a/shared/functions.sh
+++ b/shared/functions.sh
@@ -13,7 +13,8 @@ N="
"
call_rsync() {
- LC_ALL=C rsync ${IDENT+-e "ssh -o IdentitiesOnly=yes -o IdentityFile=$IDENT"} "$@"
+ LC_ALL=C rsync --bwlimit=8000 \
+ ${IDENT+-e "ssh -o IdentitiesOnly=yes -o IdentityFile=$IDENT -T -c arcfour -o Compression=no"} "$@"
}
mirror_rsync() {