mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
adblock: backport fixes
* set PROCD_RELOAD_DELAY correctly * source changes: - add new source 'games_tracking' (https://www.gameindustry.eu) - change malwaredomains source mirror - remove malwarelist source (source is empty) - remove youtube source (does not work at all) * add check for gnu-sort Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
@@ -247,10 +247,12 @@ service_triggers()
|
||||
{
|
||||
local trigger delay type
|
||||
|
||||
PROCD_RELOAD_DELAY=$((delay*1000))
|
||||
trigger="$(uci_get adblock global adb_trigger)"
|
||||
delay="$(uci_get adblock global adb_triggerdelay "2")"
|
||||
type="$(uci_get adblock global adb_starttype "start")"
|
||||
|
||||
PROCD_RELOAD_DELAY=$((delay*1000))
|
||||
|
||||
if [ -n "${trigger}" ]
|
||||
then
|
||||
procd_add_interface_trigger "interface.*.up" "${trigger}" "${adb_init}" "${type}"
|
||||
|
||||
Reference in New Issue
Block a user