From: nbd Date: Mon, 18 Apr 2005 19:53:21 +0000 (+0000) Subject: fix inconsistent pppoe nvram settings (use linksys options) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/121d0733ab253f811d5f0d5e6018cf39223433e8 fix inconsistent pppoe nvram settings (use linksys options) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@677 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 33143c915..18c87ba4b 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}