Developing lightweight computation at the DSG edge

Commit 292f114d authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Save community_name for all communities



The community_name option would only be saved if it wasn't set to "Guifi.net";
now it saves any community.

Fixes #468
Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parent 8b1d21f0
......@@ -338,9 +338,9 @@ function nodemode.write(self, section, value)
local device_id = guifideviceid:formvalue(section)
uciout:set("qmp","node","mesh_name",mesh_name)
uciout:set("qmp","node","device_id",device_id)
else
uciout:set("qmp","node","community_name",community_name)
end
uciout:set("qmp","node","community_name",community_name)
if mode == "community" then
uciout:set("qmp","roaming","ignore","1")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment