mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Revert "transmission: net.core.{r,w}mem.max *workaround for uTP"
This reverts commit 2cf0e0be30ebd6f6e73f1fb78adc897f1cb3ecd4.
This commit is contained in:
parent
2a80b33c0d
commit
db9196f8fd
@ -89,11 +89,6 @@ if [ ! "$(pidof transmission-daemon)" ];then
|
|||||||
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
|
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
|
||||||
break
|
break
|
||||||
fi
|
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
|
EVENT_NOEPOLL=1 LD_LIBRARY_PATH="$ADDON_DIR/lib:$LD_LIBRARY_PATH" eval transmission-daemon -f $TRANSMISSION_ARG &>$LOG_FILE
|
||||||
sleep 1
|
sleep 1
|
||||||
done &
|
done &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user