projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f77e6b7
)
ppp: backport use a more reliable way to set script environment
author
Steven Barth
<cyrus@openwrt.org>
Tue, 15 Sep 2015 14:56:43 +0000
(14:56 +0000)
committer
Steven Barth
<cyrus@openwrt.org>
Tue, 15 Sep 2015 14:56:43 +0000
(14:56 +0000)
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46943
package/network/services/ppp/files/ppp.sh
patch
|
blob
|
history
diff --git
a/package/network/services/ppp/files/ppp.sh
b/package/network/services/ppp/files/ppp.sh
index a6389a8b93c1849a73bc4e34d4da95234aec18d6..2a7e76b7fe2c3a092f8f7eea8437d41bb02f5e5d 100755
(executable)
--- a/
package/network/services/ppp/files/ppp.sh
+++ b/
package/network/services/ppp/files/ppp.sh
@@
-90,7
+90,7
@@
ppp_generic_setup() {
ipv6=""
elif [ -z "$ipv6" -o "$ipv6" = auto ]; then
ipv6=1
- proto_export "AUTOIPV6=1"
+ autoipv6=1
fi
if [ "${demand:-0}" -gt 0 ]; then
@@
-126,6
+126,7
@@
ppp_generic_setup() {
${localip:+$localip:} \
${lcp_failure:+lcp-echo-interval $lcp_interval lcp-echo-failure $lcp_failure $lcp_adaptive} \
${ipv6:++ipv6} \
+ ${autoipv6:+set AUTOIPV6=1} \
nodefaultroute \
usepeerdns \
$demand maxfail 1 \