blob: d8b471814f89438b395e79b29052bf7fc2574bd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-- Copyright 2016 Openwrt.org
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.adblock", package.seeall)
function index()
if not nixio.fs.access("/etc/config/adblock") then
return
end
entry({"admin", "services", "adblock"}, cbi("adblock"), _("Adblock"), 40)
end
|