summaryrefslogtreecommitdiff
path: root/openwrt/package/ppp/files/ifup.pppoa
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-10-19 13:07:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-10-19 13:07:25 +0000
commit93d8e3112b10a3527a00f54e7fe28e5c121a0ea2 (patch)
treebb70909de70fd8adb702b9c596b76bed34a20dbc /openwrt/package/ppp/files/ifup.pppoa
parentd78910fbeca85bccd911d4ca2664d6e6e0f74c6f (diff)
downloadmtk-20170518-93d8e3112b10a3527a00f54e7fe28e5c121a0ea2.zip
mtk-20170518-93d8e3112b10a3527a00f54e7fe28e5c121a0ea2.tar.gz
mtk-20170518-93d8e3112b10a3527a00f54e7fe28e5c121a0ea2.tar.bz2
clean up mtu handling in ppp init scripts
SVN-Revision: 2181
Diffstat (limited to 'openwrt/package/ppp/files/ifup.pppoa')
-rw-r--r--openwrt/package/ppp/files/ifup.pppoa3
1 files changed, 1 insertions, 2 deletions
diff --git a/openwrt/package/ppp/files/ifup.pppoa b/openwrt/package/ppp/files/ifup.pppoa
index 449c6d5..fc2e82e 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