SmartAudio/package/luci/luci-app-fwknopd/luasrc/controller/fwknopd.lua

16 lines
398 B
Lua

-- 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