diff --git a/root/easymesh/easymesh.sh b/root/easymesh/easymesh.sh index 3db535d..fc2baa9 100755 --- a/root/easymesh/easymesh.sh +++ b/root/easymesh/easymesh.sh @@ -361,7 +361,7 @@ setup_mesh_radio() { # Check if ap_mode_enabled is enabled, if so add private_router_batman to the network # 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' else uci set wireless.wifinet$RADIO_NUM.network='lan private_router_batman'