Update 'root/etc/init.d/easymesh'

pull/1/head
ben 1 year ago
parent 18057c7b1c
commit a3a6c964a2

@ -57,7 +57,14 @@ add_wifi_mesh() {
uci set network.nwi_mesh_$apall.proto='batadv_hardif'
uci set network.nwi_mesh_$apall.master='bat0'
uci set network.nwi_mesh_$apall.mtu='1536'
# adding batman to the 'lan' zone in fw
uci del_list firewall.lan.network="bat0"
uci add_list firewall.lan.network='bat0'
uci del_list firewall.lan.network="nwi_mesh_$apall"
uci add_list firewall.lan.network="nwi_mesh_$apall"
uci commit network
uci commit firewall
/etc/init.d/firewall restart
fi
if [ "$mesh_mesh" != "wifi-iface" ]; then

Loading…
Cancel
Save