mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
adblock: update 3.5.1
* maintenance update, just small backend bugfixes Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
@@ -26,7 +26,7 @@ start_service()
|
||||
then
|
||||
if [ -n "${adb_boot}" ]
|
||||
then
|
||||
local trigger="$(uci_get adblock.global.adb_trigger)"
|
||||
local trigger="$(uci_get adblock global adb_trigger)"
|
||||
if [ "${trigger}" != "timed" ]
|
||||
then
|
||||
return 0
|
||||
@@ -77,7 +77,7 @@ query()
|
||||
|
||||
status()
|
||||
{
|
||||
local key keylist value rtfile="$(uci_get adblock.extra.adb_rtfile)"
|
||||
local key keylist value rtfile="$(uci_get adblock extra adb_rtfile)"
|
||||
|
||||
rtfile="${rtfile:-"/tmp/adb_runtime.json"}"
|
||||
if [ -s "${rtfile}" ]
|
||||
@@ -98,8 +98,8 @@ status()
|
||||
|
||||
service_triggers()
|
||||
{
|
||||
local trigger="$(uci_get adblock.global.adb_trigger)"
|
||||
local delay="$(uci_get adblock.extra.adb_triggerdelay)"
|
||||
local trigger="$(uci_get adblock global adb_trigger)"
|
||||
local delay="$(uci_get adblock extra adb_triggerdelay)"
|
||||
|
||||
if [ "${trigger}" != "none" ] && [ "${trigger}" != "timed" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user