aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-18 19:53:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-18 19:53:21 +0000
commitf07b3e168ef3a69cf8222136d4cc100b3e544f2a (patch)
tree4ca1023ace828124aeb9016d8e500b1101dc9ee7 /package
parente3b86ee3fb6960dbd2503a4ac01659c8e907b21e (diff)
downloadupstream-f07b3e168ef3a69cf8222136d4cc100b3e544f2a.tar.gz
upstream-f07b3e168ef3a69cf8222136d4cc100b3e544f2a.tar.bz2
upstream-f07b3e168ef3a69cf8222136d4cc100b3e544f2a.zip
fix inconsistent pppoe nvram settings (use linksys options)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@677 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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}