summaryrefslogtreecommitdiffstats
path: root/package/ppp/files/ifup.pppoe
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
commitcbf07e3e9d5e9ef00b4e0588beb0b58b5e9be2db (patch)
tree6bb05bfdb255c93a0a9e96caaf7518329886d487 /package/ppp/files/ifup.pppoe
parent935badd4ea23611c20212ecae03abf6379063f0a (diff)
clean up mtu handling in ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2181 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files/ifup.pppoe')
-rw-r--r--package/ppp/files/ifup.pppoe3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/ppp/files/ifup.pppoe b/package/ppp/files/ifup.pppoe
index 111113122..a30dd2a9d 100644
--- a/package/ppp/files/ifup.pppoe
+++ b/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