From: Felix Fietkau Date: Wed, 19 Oct 2005 13:07:25 +0000 (+0000) Subject: clean up mtu handling in ppp init scripts X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=93d8e3112b10a3527a00f54e7fe28e5c121a0ea2;p=openwrt%2Fstaging%2Frobimarko.git clean up mtu handling in ppp init scripts SVN-Revision: 2181 --- diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa index 449c6d53dc..fc2e82eff5 100644 --- a/openwrt/package/ppp/files/ifup.pppoa +++ b/openwrt/package/ppp/files/ifup.pppoa @@ -25,7 +25,6 @@ while :; do IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME} MTU=$(nvram get ppp_mtu) MTU=${MTU:-1500} - MTU=${MTU:+ mtu $MTU mru $MTU} /usr/sbin/pppd nodetach \ plugin pppoatm.so ${VPI:-8}.${VCI:-35} \ @@ -34,7 +33,7 @@ while :; do linkname $type \ user "$USERNAME" \ password "$PASSWORD" \ - $MTU \ + mtu $MTU mru $MTU $IDLETIME \ $REDIAL diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe index 1111131222..a30dd2a9d9 100644 --- a/openwrt/package/ppp/files/ifup.pppoe +++ b/openwrt/package/ppp/files/ifup.pppoe @@ -24,7 +24,6 @@ while :; do IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME} MTU=$(nvram get ppp_mtu) MTU=${MTU:-1492} - MTU=${MTU:+ mtu $MTU mru $MTU} ifconfig $IFNAME up /usr/sbin/pppd nodetach \ @@ -35,7 +34,7 @@ while :; do linkname $type \ user "$USERNAME" \ password "$PASSWORD" \ - $MTU \ + mtu $MTU mru $MTU $IDLETIME \ $REDIAL \ nic-$IFNAME