diff options
author | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-17 16:16:06 +0000 |
---|---|---|
committer | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-17 16:16:06 +0000 |
commit | 8c5ca291ee6f36a98b465f5f34a706d44b1cf5a1 (patch) | |
tree | e05a55843796497c2f0d10baa93b9234a339fd73 /package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults | |
parent | 7df46a033cb847877010edf267effc4cd05c8e2d (diff) |
ipv6-support: Rename enable-ipv6 UCI defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35205 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults')
-rw-r--r-- | package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults b/package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults new file mode 100644 index 000000000..c77914b53 --- /dev/null +++ b/package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults @@ -0,0 +1,11 @@ +#!/bin/sh +uci -q batch <<-EOF >/dev/null + set network.globals=globals + set network.globals.ula_prefix=auto + set network.wan6=interface + set network.wan6.proto=dhcpv6 + set network.wan6.ifname=@wan + set network.lan.ip6assign=64 + set network.wan.ipv6=1 + commit network +EOF |