unbound.lua 421 B

1234567891011121314151617
  1. -- Copyright 2008 Steven Barth <steven@midlink.org>
  2. -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
  3. -- Licensed to the public under the Apache License 2.0.
  4. module("luci.controller.unbound", package.seeall)
  5. function index()
  6. if not nixio.fs.access("/etc/config/unbound") then
  7. return
  8. end
  9. local page
  10. page = entry({"admin", "services", "unbound"}, cbi("unbound"), _("Recursive DNS"))
  11. page.dependent = true
  12. end