clean up mtu handling in ppp init scripts
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Oct 2005 13:07:25 +0000 (13:07 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Oct 2005 13:07:25 +0000 (13:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2181 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/ppp/files/ifup.pppoa
openwrt/package/ppp/files/ifup.pppoe

index 449c6d5..fc2e82e 100644 (file)
@@ -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
   
index 1111131..a30dd2a 100644 (file)
@@ -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
This page took 0.027724 seconds and 4 git commands to generate.