openwrtv4/package/network/ipv6/ipv6-support/files/enable-ipv6.defaults
Steven Barth 3235d860a6 ipv6-support: Switch to native IPv6 support
SVN-Revision: 35174
2013-01-15 13:08:19 +00:00

11 lines
270 B
Bash

#!/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