1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 11:07:11 +02:00

pppo*: change lcp-echo-interval to 1s instead of 10s

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3191 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-02-08 18:28:21 +00:00
parent 56add57f29
commit 067a81eb2d
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ VCI=$(nvram get atm_vci)
USERNAME=$(nvram get ppp_username) USERNAME=$(nvram get ppp_username)
PASSWORD=$(nvram get ppp_passwd) PASSWORD=$(nvram get ppp_passwd)
KEEPALIVE=$(nvram get ppp_redialperiod) 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) DEMAND=$(nvram get ppp_demand)
case "$DEMAND" in case "$DEMAND" in
on|1|enabled) on|1|enabled)

View File

@ -18,7 +18,7 @@ IFNAME=$(nvram get ${type}_device)
USERNAME=$(nvram get ppp_username) USERNAME=$(nvram get ppp_username)
PASSWORD=$(nvram get ppp_passwd) PASSWORD=$(nvram get ppp_passwd)
KEEPALIVE=$(nvram get ppp_redialperiod) 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) DEMAND=$(nvram get ppp_demand)
case "$DEMAND" in case "$DEMAND" in
on|1|enabled) on|1|enabled)