luci/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua
Stan Grishin 768a72597c luci-app-simple-adblock: new start/stop button, better integration with simple-adblock
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-07-16 17:43:16 -07:00

7 lines
243 B
Lua

module("luci.controller.simple-adblock", package.seeall)
function index()
if not nixio.fs.access("/etc/config/simple-adblock") then
return
end
entry({"admin", "services", "simple-adblock"}, cbi("simple-adblock"), _("Simple AdBlock"))
end