* missed in the last (untested) commit - sorry.
Signed-off-by: Dirk Brenken <dev@brenken.org>
local fs = require("nixio.fs")
local util = require("luci.util")
-local uci = require("uci")
+local uci = require("luci.model.uci").cursor()
local adbinput = uci:get("adblock", "blacklist", "adb_src") or "/etc/adblock/adblock.blacklist"
if not nixio.fs.access(adbinput) then
local fs = require("nixio.fs")
local util = require("luci.util")
-local uci = require("uci")
+local uci = require("luci.model.uci").cursor()
local adbinput = uci:get("adblock", "global", "adb_whitelist") or "/etc/adblock/adblock.whitelist"
if not nixio.fs.access(adbinput) then