Skip to content
Snippets Groups Projects
Commit dfed203f authored by Jakob Olsson's avatar Jakob Olsson
Browse files

script: multiap: minor cleanup

parent 999808ad
No related branches found
No related tags found
1 merge request!711Wpa supp conf fix
Pipeline #199559 passed
...@@ -899,7 +899,6 @@ bsta_to_wireless() { ...@@ -899,7 +899,6 @@ bsta_to_wireless() {
else else
wpa_cli -i "$bsta" disconnect > /dev/null 2>&1 wpa_cli -i "$bsta" disconnect > /dev/null 2>&1
wpa_cli -i "$bsta" disable_network $network_id > /dev/null 2>&1 wpa_cli -i "$bsta" disable_network $network_id > /dev/null 2>&1
echo 1
fi fi
wpa_cli -i "$bsta" save_config > /dev/null 2>&1 wpa_cli -i "$bsta" save_config > /dev/null 2>&1
} }
...@@ -950,23 +949,9 @@ bsta_to_wireless() { ...@@ -950,23 +949,9 @@ bsta_to_wireless() {
fi fi
} }
# best=$(mapagent_find_lowest_prio_onboarded)
#
# [ -z "$best" ] && return
#
# band=$1
# sec=""
# prio=""
#
# config_foreach mapagent_enable_best bsta $best
# uci commit mapagent
config_load mapagent config_load mapagent
config_foreach mapagent_bsta_to_wireless bsta
diff=$(config_foreach mapagent_bsta_to_wireless bsta)
# [ "$diff" != "" ] && {
uci commit wireless uci commit wireless
# }
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment