1
0

fwknopd.lua 398 B

123456789101112131415
  1. -- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz>
  2. -- Licensed to the public under the GNU General Public License v2.
  3. module("luci.controller.fwknopd", package.seeall)
  4. function index()
  5. if not nixio.fs.access("/etc/config/fwknopd") then
  6. return
  7. end
  8. local page
  9. page = entry({"admin", "services", "fwknopd"}, cbi("fwknopd"), _("Firewall Knock Daemon"))
  10. page.dependent = true
  11. end