1
0

adblock.lua 301 B

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