fix inconsistent pppoe nvram settings (use linksys options)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 18 Apr 2005 19:53:21 +0000 (19:53 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 18 Apr 2005 19:53:21 +0000 (19:53 +0000)
SVN-Revision: 677

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

index 33143c91584d7e14afcbd69e1b1d39e4fdb6e533..18c87ba4b9b040df91b166a6ca763001dfb677aa 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}