Skip to content
Snippets Groups Projects
Commit 7b3b0e0b authored by Nico's avatar Nico
Browse files

add freifunk-router-ist-veraltet.de

parent c79ef2f0
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,19 @@ local function configure_ap(radio, index, config, radio_name)
ifname = suffix and 'client' .. suffix,
disabled = disabled or false,
})
local legacy_macaddr = wireless.get_wlan_mac(uci, radio, index, 5)
local legacy_name = 'leg_client_' .. radio_name
uci:section('wireless', 'wifi-iface', legacy_name, {
device = radio_name,
network = 'client',
mode = 'ap',
ssid = 'freifunk-router-ist-veraltet.de',
macaddr = legacy_macaddr,
ifname = suffix and 'leg_client' .. suffix,
disabled = disabled or false,
})
end
local function configure_owe(radio, index, config, radio_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment