From: Felix Fietkau Date: Mon, 18 Apr 2005 19:53:21 +0000 (+0000) Subject: fix inconsistent pppoe nvram settings (use linksys options) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cfb5b9b800051b064a5fe258fc6b506c708f8aeb;p=openwrt%2Fstaging%2Fsvanheule.git fix inconsistent pppoe nvram settings (use linksys options) SVN-Revision: 677 --- diff --git a/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe b/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe index 33143c9158..18c87ba4b9 100755 --- a/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe +++ b/openwrt/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}