projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add mostlyclean target to setserial
[openwrt.git]
/
openwrt
/
package
/
ppp
/
files
/
ifup.pppoe
diff --git
a/openwrt/package/ppp/files/ifup.pppoe
b/openwrt/package/ppp/files/ifup.pppoe
index
4c42fa5
..
d4a79ae
100644
(file)
--- a/
openwrt/package/ppp/files/ifup.pppoe
+++ b/
openwrt/package/ppp/files/ifup.pppoe
@@
-14,11
+14,11
@@
for module in slhc ppp_generic pppox pppoe; do
/sbin/insmod $module 2>&- >&-
done
/sbin/insmod $module 2>&- >&-
done
-IFNAME=$(nvram get
pppoe_ifnam
e)
+IFNAME=$(nvram get
${type}_devic
e)
USERNAME=$(nvram get ppp_username)
PASSWORD=$(nvram get ppp_passwd)
KEEPALIVE=$(nvram get ppp_redialperiod)
USERNAME=$(nvram get ppp_username)
PASSWORD=$(nvram get ppp_passwd)
KEEPALIVE=$(nvram get ppp_redialperiod)
-KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 1
0
lcp-echo-failure $KEEPALIVE}
+KEEPALIVE=${KEEPALIVE:+lcp-echo-interval 1 lcp-echo-failure $KEEPALIVE}
DEMAND=$(nvram get ppp_demand)
case "$DEMAND" in
on|1|enabled)
DEMAND=$(nvram get ppp_demand)
case "$DEMAND" in
on|1|enabled)
@@
-31,7
+31,7
@@
MTU=$(nvram get ppp_mtu)
MTU=${MTU:-1492}
ifconfig $IFNAME up
MTU=${MTU:-1492}
ifconfig $IFNAME up
-/usr/sbin/pppd
nodetach
\
+/usr/sbin/pppd \
plugin rp-pppoe.so \
connect /bin/true \
usepeerdns \
plugin rp-pppoe.so \
connect /bin/true \
usepeerdns \
This page took
0.023732 seconds
and
4
git commands to generate.