mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge remote-tracking branch 'upstream/master' into openelec-settings
This commit is contained in:
commit
fb449ea2bd
@ -75,12 +75,6 @@ else
|
|||||||
TRANSMISSION_ARG="$TRANSMISSION_ARG -T"
|
TRANSMISSION_ARG="$TRANSMISSION_ARG -T"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TRANSMISSION_UTP" = "true" ]; then
|
|
||||||
TRANSMISSION_ARG="$TRANSMISSION_ARG --utp"
|
|
||||||
else
|
|
||||||
TRANSMISSION_ARG="$TRANSMISSION_ARG --no-utp"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! "$(pidof transmission-daemon)" ];then
|
if [ ! "$(pidof transmission-daemon)" ];then
|
||||||
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
|
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
|
||||||
rm -rf "$LOCKDIR/$LOCKFILE"
|
rm -rf "$LOCKDIR/$LOCKFILE"
|
||||||
@ -89,11 +83,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 &
|
||||||
|
@ -16,6 +16,5 @@
|
|||||||
|
|
||||||
<string id="3110">Other</string>
|
<string id="3110">Other</string>
|
||||||
<string id="3121">Download Directory</string>
|
<string id="3121">Download Directory</string>
|
||||||
<string id="3122">Enable uTP support</string>
|
|
||||||
|
|
||||||
</strings>
|
</strings>
|
||||||
|
@ -21,6 +21,5 @@
|
|||||||
<setting type="sep" />
|
<setting type="sep" />
|
||||||
<setting label="3110" type="lsep"/>
|
<setting label="3110" type="lsep"/>
|
||||||
<setting id="TRANSMISSION_DL_DIR" type="folder" label="3121" value="" default="/storage/downloads" />
|
<setting id="TRANSMISSION_DL_DIR" type="folder" label="3121" value="" default="/storage/downloads" />
|
||||||
<setting id="TRANSMISSION_UTP" type="bool" label="3122" default="false" />
|
|
||||||
</category>
|
</category>
|
||||||
</settings>
|
</settings>
|
||||||
|
@ -6,5 +6,4 @@
|
|||||||
<setting id="TRANSMISSION_LIMIT_GLOBAL" value="" />
|
<setting id="TRANSMISSION_LIMIT_GLOBAL" value="" />
|
||||||
<setting id="TRANSMISSION_LIMIT_TORRENT" value="" />
|
<setting id="TRANSMISSION_LIMIT_TORRENT" value="" />
|
||||||
<setting id="TRANSMISSION_DL_DIR" value="/storage/downloads" />
|
<setting id="TRANSMISSION_DL_DIR" value="/storage/downloads" />
|
||||||
<setting id="TRANSMISSION_UTP" value="false" />
|
|
||||||
</settings>
|
</settings>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
3.0.4
|
3.0.4
|
||||||
- update to TVHeadend 3.3.402
|
- update to TVHeadend 3.3.403
|
||||||
|
|
||||||
3.0.3
|
3.0.3
|
||||||
- update to TVHeadend 3.3.328
|
- update to TVHeadend 3.3.328
|
||||||
- add an option to preload capmt_ca.so library
|
- add an option to preload capmt_ca.so library
|
||||||
|
|
||||||
3.0.2
|
3.0.2
|
||||||
- update to TVHeadend 3.2.18
|
- update to TVHeadend 3.2.18
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="tvheadend"
|
PKG_NAME="tvheadend"
|
||||||
PKG_VERSION="3.3.402"
|
PKG_VERSION="3.3.403"
|
||||||
PKG_REV="3"
|
PKG_REV="4"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"
|
PKG_SITE="http://www.lonelycoder.com/hts/tvheadend_overview.html"
|
||||||
|
3
packages/sysutils/busybox/config/sysctl.conf.sample
Normal file
3
packages/sysutils/busybox/config/sysctl.conf.sample
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
## transmission with uTP support
|
||||||
|
# net.core.wmem_max=1048576
|
||||||
|
# net.core.rmem_max=4194304
|
@ -50,6 +50,9 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
|
|||||||
cp $PKG_DIR/config/httpd.conf $INSTALL/etc
|
cp $PKG_DIR/config/httpd.conf $INSTALL/etc
|
||||||
echo "chmod 000 $INSTALL/etc/shadow" >> $FAKEROOT_SCRIPT
|
echo "chmod 000 $INSTALL/etc/shadow" >> $FAKEROOT_SCRIPT
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/config
|
||||||
|
cp $PKG_DIR/config/sysctl.conf.sample $INSTALL/usr/config
|
||||||
|
|
||||||
# /etc/fstab is needed by...
|
# /etc/fstab is needed by...
|
||||||
touch $INSTALL/etc/fstab
|
touch $INSTALL/etc/fstab
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user