diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-04-30 11:05:53 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-04-30 11:05:53 +0000 |
commit | eace3c169201d10f333e6bcc3b454b69ba436e6c (patch) | |
tree | 44dca35c379a3669179e868362d0d53adc850739 /openwrt/target/default/target_skeleton | |
parent | c173ee84b70098f0bbb6a7a925cd0bc7a5228f98 (diff) | |
download | mtk-20170518-eace3c169201d10f333e6bcc3b454b69ba436e6c.zip mtk-20170518-eace3c169201d10f333e6bcc3b454b69ba436e6c.tar.gz mtk-20170518-eace3c169201d10f333e6bcc3b454b69ba436e6c.tar.bz2 |
fix sysctl issues
SVN-Revision: 768
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-rwxr-xr-x | openwrt/target/default/target_skeleton/etc/init.d/S99done | 3 | ||||
-rw-r--r-- | openwrt/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 e69691c..4ecba5f 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 8552a4b..2050b0c 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 |