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 tags found
1 merge request!711Wpa supp conf fix
Pipeline #199559 passed
......@@ -899,7 +899,6 @@ bsta_to_wireless() {
else
wpa_cli -i "$bsta" disconnect > /dev/null 2>&1
wpa_cli -i "$bsta" disable_network $network_id > /dev/null 2>&1
echo 1
fi
wpa_cli -i "$bsta" save_config > /dev/null 2>&1
}
......@@ -950,23 +949,9 @@ bsta_to_wireless() {
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
diff=$(config_foreach mapagent_bsta_to_wireless bsta)
# [ "$diff" != "" ] && {
uci commit wireless
# }
config_foreach mapagent_bsta_to_wireless bsta
uci commit wireless
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment