fix inconsistent pppoe nvram settings (use linksys options)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Apr 2005 19:53:21 +0000 (19:53 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 18 Apr 2005 19:53:21 +0000 (19:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@677 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe

index 33143c9..18c87ba 100755 (executable)
@@ -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}
 
This page took 0.027368 seconds and 4 git commands to generate.