mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
adblock: update to 1.5.1
Apply adblock updates 1.4.10-1.5.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Original commit messages: adblock: update 1.4.10 - add 'enabled' check to iface hotplug event handler - decrease startup priority from 99 to 90 - fix tab indentation in config adblock: update 1.5.0 * add new 'envchk'function to check adblock environment only, i.e. check volatile firewall rules or uhttpd instances without list updates * add new optional parm 'adb_loglevel', set it to "0" to mute output (print only errors) * set hotplug priority to '90' as well (missed in the last commit) * documentation update * cosmetics adblock: bugfix 1.5.1 * fix uhttpd detection in tcp 4+6 configurations
This commit is contained in:
committed by
Hannu Nyman
parent
9de3069a94
commit
d346839750
@@ -4,8 +4,9 @@
|
||||
adb_pid="${$}"
|
||||
adb_helper="/usr/bin/adblock-helper.sh"
|
||||
adb_pidfile="/var/run/adblock.pid"
|
||||
adb_enabled="$(/etc/init.d/adblock enabled; echo $?)"
|
||||
|
||||
if [ -f "${adb_pidfile}" ] || [ "${ACTION}" != "ifup" ]
|
||||
if [ "${adb_enabled}" = "1" ] || [ -f "${adb_pidfile}" ] || [ "${ACTION}" != "ifup" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user