Revert "transmission: net.core.{r,w}mem.max *workaround for uTP"

This reverts commit 2cf0e0be30ebd6f6e73f1fb78adc897f1cb3ecd4.
This commit is contained in:
Stefan Saraev 2013-01-26 17:20:24 +02:00
parent 2a80b33c0d
commit db9196f8fd

View File

@ -89,11 +89,6 @@ if [ ! "$(pidof transmission-daemon)" ];then
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
break
fi
# XXX: sysctls for uTP. we may remove this later
if [ "$TRANSMISSION_UTP" = "true" ]; then
sysctl -w net.core.wmem_max=1048576 > /dev/null 2>&1
sysctl -w net.core.rmem_max=4194304 > /dev/null 2>&1
fi
EVENT_NOEPOLL=1 LD_LIBRARY_PATH="$ADDON_DIR/lib:$LD_LIBRARY_PATH" eval transmission-daemon -f $TRANSMISSION_ARG &>$LOG_FILE
sleep 1
done &