luci/applications/luci-app-unbound/luasrc/controller/unbound.lua
Eric Luehrsen 3580eddcfa Unbound: Basic LuCI to go with recent Unbound UCI (Oct2016)
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2016-12-04 13:58:13 -05:00

17 lines
421 B
Lua

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