From bccd5374da1e285627dd4ab8192bab2c97834632 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 10 Apr 2011 00:27:08 -0700 Subject: [PATCH] Faster timeouts for failed connections 1 second retry instead of 3 second. 3 retries instead of 10. --- init.cfg/init.froyo.rc | 3 ++- init.cfg/init.gingerbread.rc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/init.cfg/init.froyo.rc b/init.cfg/init.froyo.rc index c1234ee..9450244 100644 --- a/init.cfg/init.froyo.rc +++ b/init.cfg/init.froyo.rc @@ -471,6 +471,7 @@ service dhcpcd /system/bin/dhcpcd -ABKL oneshot service pppd_gprs /system/bin/pppd /dev/smd1 defaultroute local usepeerdns \ - noipdefault unit 0 nodetach linkname gprs novj novjccomp + noipdefault unit 0 nodetach linkname gprs novj novjccomp \ + lcp-restart 1 lcp-max-configure 3 ipcp-restart 1 ipcp-max-configure 3 disabled oneshot diff --git a/init.cfg/init.gingerbread.rc b/init.cfg/init.gingerbread.rc index 382849d..7d52792 100644 --- a/init.cfg/init.gingerbread.rc +++ b/init.cfg/init.gingerbread.rc @@ -472,6 +472,7 @@ service dhcpcd /system/bin/dhcpcd -ABKL oneshot service pppd_gprs /system/bin/pppd /dev/smd1 defaultroute local usepeerdns \ - noipdefault unit 0 nodetach linkname gprs novj novjccomp + noipdefault unit 0 nodetach linkname gprs novj novjccomp \ + lcp-restart 1 lcp-max-configure 3 ipcp-restart 1 ipcp-max-configure 3 disabled oneshot -- 2.1.4