diff --git a/packages/sysutils/busybox/config/sysctl.conf.sample b/packages/sysutils/busybox/config/sysctl.conf.sample deleted file mode 100644 index 37270a79d4..0000000000 --- a/packages/sysutils/busybox/config/sysctl.conf.sample +++ /dev/null @@ -1,3 +0,0 @@ -## transmission with uTP support -# net.core.wmem_max=1048576 -# net.core.rmem_max=4194304 diff --git a/packages/sysutils/busybox/config/transmission.conf b/packages/sysutils/busybox/config/transmission.conf new file mode 100644 index 0000000000..d50663b4b9 --- /dev/null +++ b/packages/sysutils/busybox/config/transmission.conf @@ -0,0 +1,5 @@ +# transmission with uTP support +# please comment out the follow line to activate this values: + +# net.core.wmem_max=1048576 +# net.core.rmem_max=4194304 diff --git a/packages/sysutils/busybox/init.d/07_sysctl b/packages/sysutils/busybox/init.d/07_sysctl deleted file mode 100644 index 9fb31fcb84..0000000000 --- a/packages/sysutils/busybox/init.d/07_sysctl +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# Copyright (C) 2009-2010 OpenELEC.tv -# http://www.openelec.tv -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -# setup sysctl -# -# runlevels: openelec, installer, textmode - -progress "setup sysctl" - - if [ -f /etc/sysctl.conf ]; then - sysctl -p /etc/sysctl.conf > /dev/null 2>&1 & - fi - - if [ -f /storage/.config/sysctl.conf ]; then - progress "set sysctls from /storage/.config/sysctl.conf" - sysctl -p /storage/.config/sysctl.conf > /dev/null 2>&1 & - fi diff --git a/packages/sysutils/busybox/install b/packages/sysutils/busybox/install index 90bcc1fc60..cf34975385 100755 --- a/packages/sysutils/busybox/install +++ b/packages/sysutils/busybox/install @@ -54,8 +54,8 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`" cp $PKG_DIR/config/httpd.conf $INSTALL/etc echo "chmod 000 $INSTALL/etc/shadow" >> $FAKEROOT_SCRIPT - mkdir -p $INSTALL/usr/config - cp $PKG_DIR/config/sysctl.conf.sample $INSTALL/usr/config + mkdir -p $INSTALL/usr/config/sysctl.d + cp $PKG_DIR/config/transmission.conf $INSTALL/usr/config/sysctl.d # /etc/fstab is needed by... touch $INSTALL/etc/fstab