summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrddisplay.lua
blob: aadb44f3778087452531ab8bdeed7fedc7258dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Copyright 2011 Manuel Munz <freifunk at somakoma de>
-- Licensed to the public under the Apache License 2.0.

m = Map("luci_olsr", translate("OLSR - Display Options"))

s = m:section(TypedSection, "olsr")
s.anonymous = true

res = s:option(Flag, "resolve", translate("Resolve"),
        translate("Resolve hostnames on status pages. It is generally safe to allow this, but if you use public IPs and have unstable DNS-Setup then those pages will load really slow. In this case disable it here."))
res.default = "0"
res.optional = true

return m