openwrt: custom init.d/network and sysctl.conf not required anymore

This commit is contained in:
Bart Van Der Meerssche 2010-09-21 19:47:49 +02:00
parent afeea3e5f0
commit 575caca3d9
2 changed files with 0 additions and 54 deletions

View File

@ -1,37 +0,0 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=40
STOP=40
boot() {
setup_switch() { return 0; }
include /lib/network
setup_switch
[ -s /etc/config/wireless ] || \
/sbin/wifi detect > /etc/config/wireless
/sbin/wifi up
iwconfig ath0 rate 6M
}
start() {
ifup -a
/sbin/wifi up
iwconfig ath0 rate 6M
}
restart() {
setup_switch() { return 0; }
include /lib/network
setup_switch
ifup -a
/sbin/wifi up
iwconfig ath0 rate 6M
}
stop() {
ifdown -a
}

View File

@ -1,17 +0,0 @@
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_ecn=0
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_timestamps=0
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600
net.ipv4.netfilter.ip_conntrack_udp_timeout=60
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180
# net.ipv6.conf.all.forwarding=1
dev.wifi0.ledpin=4
dev.wifi0.softled=1