summaryrefslogtreecommitdiff
path: root/openwrt/package/ppp/files/ifup.pppoa
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-19 13:07:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-19 13:07:25 +0000
commit1b8fffcf7c485d863315ebe9e7ec321eb92b5c74 (patch)
tree251972850583c2c20b886607c98cec5f8725dba6 /openwrt/package/ppp/files/ifup.pppoa
parent6db2db3a9c41ef447a6ac351f8408fa2cfb7ddad (diff)
clean up mtu handling in ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2181 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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