projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ustl package for systems with /bin/install instead of /usr/bin/install
[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
475224f
..
baea25e
100644
(file)
--- a/
openwrt/package/ppp/files/ifup.pppoa
+++ b/
openwrt/package/ppp/files/ifup.pppoa
@@
-19,12
+19,13
@@
VCI=$(nvram get atm_vci)
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_idletime)
DEMAND=${IDLETIME:+demand idle $IDLETIME}
DEMAND=$(nvram get ppp_demand)
case "$DEMAND" in
on|1|enabled)
DEMAND=$(nvram get ppp_idletime)
DEMAND=${IDLETIME:+demand idle $IDLETIME}
+ [ -f /etc/ppp/filter ] && DEMAND=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND}
;;
*) DEMAND="persist";;
esac
;;
*) DEMAND="persist";;
esac
This page took
0.029086 seconds
and
4
git commands to generate.