From 575caca3d9f2803b2dcb779e309cc4064d0bff69 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Tue, 21 Sep 2010 19:47:49 +0200 Subject: [PATCH] openwrt: custom init.d/network and sysctl.conf not required anymore --- mote/v1/openwrt/files/etc/init.d/network | 37 ------------------------ mote/v1/openwrt/files/etc/sysctl.conf | 17 ----------- 2 files changed, 54 deletions(-) delete mode 100755 mote/v1/openwrt/files/etc/init.d/network delete mode 100644 mote/v1/openwrt/files/etc/sysctl.conf diff --git a/mote/v1/openwrt/files/etc/init.d/network b/mote/v1/openwrt/files/etc/init.d/network deleted file mode 100755 index 6e2bf13..0000000 --- a/mote/v1/openwrt/files/etc/init.d/network +++ /dev/null @@ -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 -} - diff --git a/mote/v1/openwrt/files/etc/sysctl.conf b/mote/v1/openwrt/files/etc/sysctl.conf deleted file mode 100644 index b3bfe3b..0000000 --- a/mote/v1/openwrt/files/etc/sysctl.conf +++ /dev/null @@ -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