summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua
blob: 069a77ea3e2bf6d574a273fdf98f29435b6d78aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz>
-- Licensed to the public under the GNU General Public License v2.

module("luci.controller.fwknopd", package.seeall)

function index()
	if not nixio.fs.access("/etc/config/fwknopd") then
		return
	end

	local page

	page = entry({"admin", "services", "fwknopd"}, cbi("fwknopd"), _("Firewall Knock Daemon"))
	page.dependent = true
end