From e6322abd2e985e59e8320e92a5b9b3082f21375a Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Mon, 10 Jan 2022 18:58:31 +0100 Subject: [PATCH] On Seedbox setup, avoid endless hashing. --- stretch/setup_scripts/setup_seedbox.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/stretch/setup_scripts/setup_seedbox.sh b/stretch/setup_scripts/setup_seedbox.sh index 32c7791..a2d2187 100755 --- a/stretch/setup_scripts/setup_seedbox.sh +++ b/stretch/setup_scripts/setup_seedbox.sh @@ -5,6 +5,7 @@ set -e # As according to <https://rtorrent-docs.readthedocs.io/en/latest/cookbook.html#modernized-configuration-template> su -lc "curl -Ls 'https://raw.githubusercontent.com/wiki/rakshasa/rtorrent/CONFIG-Template.md' | grep -A9999 '^######' | grep -B9999 '^### END' | sed -re \"s:/home/USERNAME:\$HOME:\" >~/.rtorrent.rc" plom +su -lc "echo 'pieces.hash.on_completion.set = no' >> ~/.rtorrent.rc" plom su -lc "mkdir ~/rtorrent" plom # As according to <https://unix.stackexchange.com/a/475485> -- 2.30.2