Merge pull request #821 from andrewshadura/luci-route-types
[project/luci.git] / applications / luci-app-unbound / luasrc / controller / unbound.lua
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
5 module("luci.controller.unbound", package.seeall)
6
7 function index()
8         if not nixio.fs.access("/etc/config/unbound") then
9                 return
10         end
11
12         local page
13
14         page = entry({"admin", "services", "unbound"}, cbi("unbound"), _("Recursive DNS"))
15         page.dependent = true
16 end
17