contrib/meshwizard: allowssh and allowweb can be set for wan dhcp proto too now
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / helpers / setup_wan_dhcp.sh
1 #!/bin/sh
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
5 [ ! "$(uci -q get network.wan)" == "interface" ] && exit
6
7 . /lib/functions.sh
8 . $dir/functions.sh
9
10 uci delete meshwizard.wan && uci commit meshwizard
11