projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo in ppp init scripts
[openwrt.git]
/
openwrt
/
package
/
ppp
/
files
/
ifup.pppoa
diff --git
a/openwrt/package/ppp/files/ifup.pppoa
b/openwrt/package/ppp/files/ifup.pppoa
index
ee88e4b
..
51b0fe3
100644
(file)
--- a/
openwrt/package/ppp/files/ifup.pppoa
+++ b/
openwrt/package/ppp/files/ifup.pppoa
@@
-10,7
+10,7
@@
type=$1
exit
}
exit
}
-for module in slhc ppp_generic pppo
x pppo
atm; do
+for module in slhc ppp_generic pppoatm; do
/sbin/insmod $module 2>&- >&-
done
/sbin/insmod $module 2>&- >&-
done
@@
-24,19
+24,16
@@
while :; do
IDLETIME=$(nvram get ppp_idletime)
IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
MTU=$(nvram get ppp_mtu)
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}
- ifconfig $IFNAME up
/usr/sbin/pppd nodetach \
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
/usr/sbin/pppd nodetach \
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
- connect /bin/true \
usepeerdns \
defaultroute \
linkname $type \
user "$USERNAME" \
password "$PASSWORD" \
usepeerdns \
defaultroute \
linkname $type \
user "$USERNAME" \
password "$PASSWORD" \
- $MTU \
+
mtu $MTU mru
$MTU \
$IDLETIME \
$REDIAL
$IDLETIME \
$REDIAL
This page took
0.023873 seconds
and
4
git commands to generate.