From f1c4d874704825e73e01205d116c94a7db07fe19 Mon Sep 17 00:00:00 2001 From: wbx Date: Sat, 30 Apr 2005 11:05:53 +0000 Subject: [PATCH 1/1] fix sysctl issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@768 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../default/target_skeleton/etc/init.d/S99done | 3 ++- .../target/default/target_skeleton/etc/sysctl.conf | 14 +++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/openwrt/target/default/target_skeleton/etc/init.d/S99done b/openwrt/target/default/target_skeleton/etc/init.d/S99done index e69691c4b..4ecba5f3e 100755 --- a/openwrt/target/default/target_skeleton/etc/init.d/S99done +++ b/openwrt/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/openwrt/target/default/target_skeleton/etc/sysctl.conf b/openwrt/target/default/target_skeleton/etc/sysctl.conf index 8552a4ba3..2050b0c88 100644 --- a/openwrt/target/default/target_skeleton/etc/sysctl.conf +++ b/openwrt/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 -- 2.20.1