diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-07-16 15:31:24 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-07-16 15:31:24 +0300 |
commit | 94455fc75390683fcc9612a26f05095c7eee7f16 (patch) | |
tree | c1597f265f542050ce9895eec58c0a7531e662df | |
parent | 1e392367a656dcc93ff8697b52704a5b4afdda82 (diff) |
functions.sh: tune rsync invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rwxr-xr-x | shared/functions.sh | 3 |
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() { |