2 # Setup dhcp interface settings for wan. This is the OpenWrt default,
3 # so all we need to do here is to delete wan from meshwizard after setup.
4 # Also disallow ra on wan if ipv6 is enabled
6 [ ! "$(uci -q get network.wan)" == "interface" ] && exit
11 if [ "$ipv6_enabled" = "1" ]; then
12 uci
set network.wan.accept_ra
='0'
13 uci_commitverbose
"Do not accept ra on wan interface" network
17 uci delete meshwizard.wan
&& uci commit meshwizard