From 1217ea45d15457395086a7c5149af0590afd9c48 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 31 Oct 2021 05:52:32 +0100 Subject: [PATCH] Update 20-config --- transmission/rootfs/etc/cont-init.d/20-config | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/transmission/rootfs/etc/cont-init.d/20-config b/transmission/rootfs/etc/cont-init.d/20-config index 5d211efd0..e278e0410 100644 --- a/transmission/rootfs/etc/cont-init.d/20-config +++ b/transmission/rootfs/etc/cont-init.d/20-config @@ -71,19 +71,6 @@ if bashio::config.has_value 'customUI'; then fi bashio::log.info "UI selected : $CUSTOMUI" -##################### -# net.core.rmem_max # -##################### - -SIZE="4194304" - # If net.core.rmem_max present in /etc/sysctl.conf, change value to "$SIZE" - # else, add "net.core.rmem_max = $SIZE" to /etc/sysctl.conf - if grep --silent ^net.core.rmem_max /etc/sysctl.conf; then - sed -i 's/^net.core.rmem_max.*/net.core.rmem_max = '$SIZE'/g' /etc/sysctl.conf - else - echo "" >> /etc/sysctl.conf - echo "net.core.rmem_max = $SIZE" >> /etc/sysctl.conf - fi #################### # From linuxserver #