#!/bin/sh uci set network.wan=interface uci set network.wan.device=lan0 uci set network.wan.proto=dhcp uci set network.wan6=interface uci set network.wan6.device=lan0 uci set network.wan6.proto=dhcpv6 uci commit