olsrddisplay.lua 547 B

1234567891011121314
  1. -- Copyright 2011 Manuel Munz <freifunk at somakoma de>
  2. -- Licensed to the public under the Apache License 2.0.
  3. m = Map("luci_olsr", translate("OLSR - Display Options"))
  4. s = m:section(TypedSection, "olsr")
  5. s.anonymous = true
  6. res = s:option(Flag, "resolve", translate("Resolve"),
  7. 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."))
  8. res.default = "0"
  9. res.optional = true
  10. return m