mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox: add sysctl.conf.sample
This commit is contained in:
parent
4d6a95c553
commit
2a80b33c0d
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
|
||||
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...
|
||||
touch $INSTALL/etc/fstab
|
||||
|
||||
@ -68,12 +71,3 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
|
||||
|
||||
mkdir -p $INSTALL/usr/www/error
|
||||
echo "404" > $INSTALL/usr/www/error/404.html
|
||||
|
||||
# cron support
|
||||
if [ "$CRON_SUPPORT" = "yes" ] ; then
|
||||
mkdir -p $INSTALL/etc/init.d
|
||||
cp $PKG_DIR/scripts/09_crond $INSTALL/etc/init.d/
|
||||
else
|
||||
rm -f $INSTALL/sbin/crond
|
||||
rm -f $INSTALL/bin/crontab
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user