Skip to content
Snippets Groups Projects
Commit fc481ac9 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

rm announced foo from ffnw-node-info

parent edca4315
No related branches found
No related tags found
No related merge requests found
if uci:get_first('gluon-node-info', 'location', 'share_location', false) then
return {
mobile = tonumber(uci:get_first('gluon-node-info', 'location', 'mobile_location')),
latitude = tonumber(uci:get_first('gluon-node-info', 'location', 'latitude')),
longitude = tonumber(uci:get_first('gluon-node-info', 'location', 'longitude')),
altitude = tonumber(uci:get_first('gluon-node-info', 'location', 'altitude')),
}
end
local contact = uci:get_first('gluon-node-info', 'owner', 'contact', '')
if contact ~= '' then
return { contact = contact }
end
local role = uci:get_first('gluon-node-info', 'system', 'role', '')
if role ~= '' then
return role
end
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