|
|
@ -361,7 +361,7 @@ setup_mesh_radio() {
|
|
|
|
|
|
|
|
|
|
|
|
# Check if ap_mode_enabled is enabled, if so add private_router_batman to the network
|
|
|
|
# Check if ap_mode_enabled is enabled, if so add private_router_batman to the network
|
|
|
|
# otherwise just add lan
|
|
|
|
# otherwise just add lan
|
|
|
|
if [ "$(uci -q get easymesh.config.ap_mode_enabled)" = 1 ]; then
|
|
|
|
if [ "$(uci -q get easymesh.config.ap_mode_enabled)" = 0 ]; then
|
|
|
|
uci set wireless.wifinet$RADIO_NUM.network='lan'
|
|
|
|
uci set wireless.wifinet$RADIO_NUM.network='lan'
|
|
|
|
else
|
|
|
|
else
|
|
|
|
uci set wireless.wifinet$RADIO_NUM.network='lan private_router_batman'
|
|
|
|
uci set wireless.wifinet$RADIO_NUM.network='lan private_router_batman'
|
|
|
|