luci/applications/luci-app-unbound/luasrc/controller/unbound.lua
Eric Luehrsen 4a95fd9423 luci-app-unbound: move and rename configure.lua
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-09-12 21:04:52 -04:00

17 lines
431 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/configure"), _("Recursive DNS"))
page.dependent = true
end