summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/ipv6-support/files/network-enable-ipv6.defaults
diff options
context:
space:
mode:
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.defaults11
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