fix sysctl issues

SVN-Revision: 768
lede-17.01
Waldemar Brodkorb 2005-04-30 11:05:53 +00:00
parent c173ee84b7
commit eace3c1692
2 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# set leds to normal state # set leds to normal state
echo "0x00" > /proc/sys/diag echo "0x00" > /proc/sys/diag
sysctl -np sysctl -p
sysctl -n

View File

@ -1,7 +1,7 @@
kernel.panic = 3 kernel.panic=3
net.ipv4.ip_forward = 1 net.ipv4.ip_forward=1
net.ipv4.icmp_echo_ignore_broadcasts = 1 net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_ignore_bogus_error_responses = 1 net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time = 120 net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_timestamps = 0 net.ipv4.tcp_timestamps=0