summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-unbound/luasrc/controller/unbound.lua
blob: 0a5abc5a5ef280e3b150bcb78563e422c2583005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- 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