fix pppoatm init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1800 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
c111466a34
commit
fad6b71b9c
|
@ -10,7 +10,7 @@ type=$1
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
for module in slhc ppp_generic pppox pppoatm; do
|
for module in slhc ppp_generic pppoatm; do
|
||||||
/sbin/insmod $module 2>&- >&-
|
/sbin/insmod $module 2>&- >&-
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ while :; do
|
||||||
MTU=${MTU:-1492}
|
MTU=${MTU:-1492}
|
||||||
MTU=${MTU:+ mtu $MTU mru $MTU}
|
MTU=${MTU:+ mtu $MTU mru $MTU}
|
||||||
|
|
||||||
ifconfig $IFNAME up
|
|
||||||
/usr/sbin/pppd nodetach \
|
/usr/sbin/pppd nodetach \
|
||||||
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
|
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
|
||||||
usepeerdns \
|
usepeerdns \
|
||||||
|
|
Loading…
Reference in New Issue