add hotplug stuff to trunk/
[openwrt.git] / openwrt / package / ppp / files / ifup.pppoa
index 449c6d5..8928366 100644 (file)
@@ -25,16 +25,16 @@ 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} \
        usepeerdns \
        defaultroute \
        linkname $type \
+       ipparam $type \
        user "$USERNAME" \
        password "$PASSWORD" \
-       $MTU \
+       mtu $MTU mru $MTU \
        $IDLETIME \
        $REDIAL
   
This page took 0.030684 seconds and 4 git commands to generate.