<%+header%> <% local has_latlon = false local uci = require "luci.model.uci".cursor() uci:foreach("olsrd", "LoadPlugin", function(s) if s.library == "olsrd_nameservice.so.0.3" and s.latlon_file then has_latlon = true end end) %> <% if has_latlon then %>

<%:Legend%>:

<% else %>

<%:Map Error%>

<%_The OLSRd service is not configured to capture position data from the network.
Please make sure that the nameservice plugin is properly configured and that the latlon_file option is enabled.%>

<% end %> <%+footer%>