pppo*: change lcp-echo-interval to 1s instead of 10s
authorFelix Fietkau <nbd@openwrt.org>
Wed, 8 Feb 2006 18:28:21 +0000 (18:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 8 Feb 2006 18:28:21 +0000 (18:28 +0000)
SVN-Revision: 3191

openwrt/package/ppp/files/ifup.pppoa
openwrt/package/ppp/files/ifup.pppoe

index 475224ff35bc72fa00437258bc3e26d52ef3180c..2ae6019c51cc6d0d4edf31c3651c26d564683516 100644 (file)
@@ -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)
index b43d2689bd05b240338c8ee074d339b730edbaba..d4a79aedd5a49d7d43ed12660d937b6d906ed766 100644 (file)
@@ -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)