summaryrefslogtreecommitdiff
path: root/target/default/target_skeleton
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-30 11:05:53 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-30 11:05:53 +0000
commit50423b5c23393c9613007e495a21af079e766e7a (patch)
treee768b53a089ea88847e77920b40e429b4fa654f0 /target/default/target_skeleton
parentd221c316a372de8f2b6818ea2c4fd5ecafb43058 (diff)
fix sysctl issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@768 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/target_skeleton')
-rwxr-xr-xtarget/default/target_skeleton/etc/init.d/S99done3
-rw-r--r--target/default/target_skeleton/etc/sysctl.conf14
2 files changed, 9 insertions, 8 deletions
diff --git a/target/default/target_skeleton/etc/init.d/S99done b/target/default/target_skeleton/etc/init.d/S99done
index e69691c4b1..4ecba5f3e5 100755
--- a/target/default/target_skeleton/etc/init.d/S99done
+++ b/target/default/target_skeleton/etc/init.d/S99done
@@ -1,4 +1,5 @@
#!/bin/sh
# set leds to normal state
echo "0x00" > /proc/sys/diag
-sysctl -np
+sysctl -p
+sysctl -n
diff --git a/target/default/target_skeleton/etc/sysctl.conf b/target/default/target_skeleton/etc/sysctl.conf
index 8552a4ba32..2050b0c886 100644
--- a/target/default/target_skeleton/etc/sysctl.conf
+++ b/target/default/target_skeleton/etc/sysctl.conf
@@ -1,7 +1,7 @@
-kernel.panic = 3
-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_timestamps = 0
+kernel.panic=3
+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_timestamps=0