summaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/ipv6-support/files/enable-ipv6.defaults
blob: c77914b530922768b063494c8a6d5c2cda75081b (plain)
1
2
3
4
5
6
7
8
9
10
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