Author: cyrus Date: 2015-09-15 16:56:43 +0200 (Tue, 15 Sep 2015) New Revision: 46943
Modified: branches/chaos_calmer/package/network/services/ppp/files/ppp.sh Log: ppp: backport use a more reliable way to set script environment Signed-off-by: Steven Barth <[email protected]> Modified: branches/chaos_calmer/package/network/services/ppp/files/ppp.sh =================================================================== --- branches/chaos_calmer/package/network/services/ppp/files/ppp.sh 2015-09-15 14:52:47 UTC (rev 46942) +++ branches/chaos_calmer/package/network/services/ppp/files/ppp.sh 2015-09-15 14:56:43 UTC (rev 46943) @@ -90,7 +90,7 @@ 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 @@ ${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 \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
