mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:37:10 +02:00
use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7043 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0554700c3e
commit
2d4bdf6086
@ -13,7 +13,7 @@ PKG_NAME:=base-files
|
||||
PKG_RELEASE:=8
|
||||
|
||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
|
||||
PKG_FILE_DEPEND:=$(PLATFORM_DIR)
|
||||
PKG_FILE_DEPEND:=$(PLATFORM_DIR) $(GENERIC_PLATFORM_DIR)/base-files
|
||||
|
||||
REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' )
|
||||
ifeq ($(REV),)
|
||||
@ -110,6 +110,9 @@ endef
|
||||
|
||||
define Package/base-files$(TARGET)/install
|
||||
$(CP) ./files/* $(1)/
|
||||
if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \
|
||||
$(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \
|
||||
fi
|
||||
if [ -d $(PLATFORM_DIR)/base-files/default/. ]; then \
|
||||
$(CP) $(PLATFORM_DIR)/base-files/default/* $(1)/; \
|
||||
fi
|
||||
|
10
target/linux/generic-2.6/base-files/etc/sysctl.conf
Normal file
10
target/linux/generic-2.6/base-files/etc/sysctl.conf
Normal file
@ -0,0 +1,10 @@
|
||||
kernel.panic=3
|
||||
net.ipv4.conf.default.arp_ignore=1
|
||||
net.ipv4.conf.all.arp_ignore=1
|
||||
net.ipv4.ip_forward=1
|
||||
net.ipv4.icmp_echo_ignore_broadcasts=1
|
||||
net.ipv4.icmp_ignore_bogus_error_responses=1
|
||||
net.ipv4.tcp_fin_timeout=30
|
||||
net.ipv4.tcp_keepalive_time=120
|
||||
net.ipv4.tcp_syncookies=1
|
||||
net.ipv4.tcp_timestamps=0
|
Loading…
Reference in New Issue
Block a user