add KERNEL variable
[openwrt.git] / openwrt / package / ppp / files / ifup.pppoa
index ee88e4b..449c6d5 100644 (file)
@@ -10,7 +10,7 @@ type=$1
        exit
 }
 
-for module in slhc ppp_generic pppox pppoatm; do
+for module in slhc ppp_generic pppoatm; do
        /sbin/insmod $module 2>&- >&-
 done
 
@@ -24,13 +24,11 @@ while :; do
   IDLETIME=$(nvram get ppp_idletime)
   IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
   MTU=$(nvram get ppp_mtu)
-  MTU=${MTU:-1492}
+  MTU=${MTU:-1500}
   MTU=${MTU:+ mtu $MTU mru $MTU}
 
-  ifconfig $IFNAME up
   /usr/sbin/pppd nodetach \
        plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
-       connect /bin/true \
        usepeerdns \
        defaultroute \
        linkname $type \
This page took 0.022153 seconds and 4 git commands to generate.