busybox: add sysctl.conf.sample

This commit is contained in:
Stefan Saraev 2013-01-26 17:19:15 +02:00
parent 4d6a95c553
commit 2a80b33c0d
2 changed files with 6 additions and 9 deletions

View File

@ -0,0 +1,3 @@
## transmission with uTP support
# net.core.wmem_max=1048576
# net.core.rmem_max=4194304

View File

@ -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