From 625abbfdbe94dada023ebd8ea69778173d1a7351 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Feb 2020 16:51:19 +0100 Subject: treewide: convert simple Lua controllers to declarative JSON Signed-off-by: Jo-Philipp Wich --- .../luci-app-fwknopd/luasrc/controller/fwknopd.lua | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua (limited to 'applications/luci-app-fwknopd/luasrc') diff --git a/applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua b/applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua deleted file mode 100644 index 069a77ea3..000000000 --- a/applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua +++ /dev/null @@ -1,15 +0,0 @@ --- Copyright 2015 Jonathan Bennett --- 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 -- cgit v1.2.3