From: Felix Fietkau Date: Wed, 8 Feb 2006 18:28:21 +0000 (+0000) Subject: pppo*: change lcp-echo-interval to 1s instead of 10s X-Git-Tag: reboot~31116 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=935372297a43b387fdd067c23f346a050c7fa3cf;p=openwrt%2Fstaging%2Fpepe2k.git pppo*: change lcp-echo-interval to 1s instead of 10s SVN-Revision: 3191 --- diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa index 475224ff35..2ae6019c51 100644 --- a/openwrt/package/ppp/files/ifup.pppoa +++ b/openwrt/package/ppp/files/ifup.pppoa @@ -19,7 +19,7 @@ VCI=$(nvram get atm_vci) USERNAME=$(nvram get ppp_username) PASSWORD=$(nvram get ppp_passwd) KEEPALIVE=$(nvram get ppp_redialperiod) -KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 10 lcp-echo-failure $KEEPALIVE} +KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 1 lcp-echo-failure $KEEPALIVE} DEMAND=$(nvram get ppp_demand) case "$DEMAND" in on|1|enabled) diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe index b43d2689bd..d4a79aedd5 100644 --- a/openwrt/package/ppp/files/ifup.pppoe +++ b/openwrt/package/ppp/files/ifup.pppoe @@ -18,7 +18,7 @@ IFNAME=$(nvram get ${type}_device) USERNAME=$(nvram get ppp_username) PASSWORD=$(nvram get ppp_passwd) KEEPALIVE=$(nvram get ppp_redialperiod) -KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 10 lcp-echo-failure $KEEPALIVE} +KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 1 lcp-echo-failure $KEEPALIVE} DEMAND=$(nvram get ppp_demand) case "$DEMAND" in on|1|enabled)