summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-07-30 11:04:20 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-07-30 11:04:20 +0200
commit4b086642abb0a2d225f5c132a507952018af62bc (patch)
tree714cd70b6d07081080b3c344fd4948ea4ba16fe6
parenta15b5d25c108df7b2d94cdecbb99f3373abbed03 (diff)
downloadbin-4b086642abb0a2d225f5c132a507952018af62bc.tar.gz
bin-4b086642abb0a2d225f5c132a507952018af62bc.tar.xz
syncrepo.sh: Disable bwlimit by default
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xsyncrepo.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/syncrepo.sh b/syncrepo.sh
index dc1cdea..604c00c 100755
--- a/syncrepo.sh
+++ b/syncrepo.sh
@@ -18,9 +18,10 @@ tmp=""
# Lockfile path
lock="/var/lock/syncrepo.lck"
-# NOTE: You'll probably want to change this or set it to 0 to disable the limit
+# If you want to limit the bandwidth used by rsync set this.
+# Use 0 to disable the limit.
# The default unit is KiB (see man rsync /--bwlimit for more)
-bwlimit=4096
+bwlimit=0
# The source URL of the mirror you want to sync from.
# If you are a tier 1 mirror use rsync.archlinux.org, for example like this: