summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc11
1 files changed, 10 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 21ebccb79..1ee9fbf4a 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -369,6 +369,9 @@ on boot
369 setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680 369 setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680
370 setprop net.tcp.buffersize.evdo 4094,87380,262144,4096,16384,262144 370 setprop net.tcp.buffersize.evdo 4094,87380,262144,4096,16384,262144
371 371
372# Define default initial receive window size in segments.
373 setprop net.tcp.default_init_rwnd 60
374
372 class_start core 375 class_start core
373 class_start main 376 class_start main
374 377
@@ -401,9 +404,15 @@ on property:vold.decrypt=trigger_shutdown_framework
401on property:sys.powerctl=* 404on property:sys.powerctl=*
402 powerctl ${sys.powerctl} 405 powerctl ${sys.powerctl}
403 406
404# system server cannot write to /proc/sys files, so proxy it through init 407# system server cannot write to /proc/sys files,
408# and chown/chmod does not work for /proc/sys/ entries.
409# So proxy writes through init.
405on property:sys.sysctl.extra_free_kbytes=* 410on property:sys.sysctl.extra_free_kbytes=*
406 write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes} 411 write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes}
412# "tcp_default_init_rwnd" Is too long!
413on property:sys.sysctl.tcp_def_init_rwnd=*
414 write /proc/sys/net/ipv4/tcp_default_init_rwnd ${sys.sysctl.tcp_def_init_rwnd}
415
407 416
408## Daemon processes to be run by init. 417## Daemon processes to be run by init.
409## 418##