fix typo in ppp init scripts
[oweals/openwrt.git] / openwrt / package / ppp / files / ifup.pppoa
index 7fac6ccac6c56a45056b4b7df8831630fe517e63..51b0fe3344424e0270d882c74a95dc4b922061ec 100644 (file)
@@ -24,8 +24,7 @@ while :; do
   IDLETIME=$(nvram get ppp_idletime)
   IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
   MTU=$(nvram get ppp_mtu)
-  MTU=${MTU:-1492}
-  MTU=${MTU:+ mtu $MTU mru $MTU}
+  MTU=${MTU:-1500}
 
   /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