2016-12-04 02:16:04 +00:00
|
|
|
-- 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
|
|
|
|
|
2017-09-05 02:02:42 +00:00
|
|
|
page = entry({"admin", "services", "unbound"}, cbi("unbound/configure"), _("Recursive DNS"))
|
2016-12-04 02:16:04 +00:00
|
|
|
page.dependent = true
|
|
|
|
end
|
|
|
|
|