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

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken
2016-09-29 18:07:45 +02:00
parent 564dc2294a
commit 23b14e7b4c
5 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -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