summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-18 19:53:21 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-18 19:53:21 +0000
commit290cbac232a16a3a137fa73df8a84a2c79212627 (patch)
tree4ca1023ace828124aeb9016d8e500b1101dc9ee7
parenteb9ff0d90a97b4a9c86689d097f0c5f9c5a6db97 (diff)
fix inconsistent pppoe nvram settings (use linksys options)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@677 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe b/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe
index 33143c9158..18c87ba4b9 100755
--- a/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe
+++ b/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe
@@ -15,9 +15,9 @@ done
USERNAME=$(nvram get ppp_username)
PASSWORD=$(nvram get ppp_passwd)
REDIAL=$(nvram get ppp_redialperiod)
- REDIAL=${REDIAL:+holdoff $REDIAL}
+ REDIAL=${REDIAL:+lcp-echo-interval $REDIAL}
IDLETIME=$(nvram get ppp_idletime)
- IDLETIME=${IDLETIME:+idle $IDLETIME}
+ IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
MTU=$(nvram get ppp_mtu)
MTU=${MTU:+ mtu $MTU mru $MTU}