mirror of
https://github.com/novatiq/packages.git
synced 2026-07-30 07:13:07 +01:00
adblock: update 1.4.5
* change the default hphosts list source to ad and tracking servers only, the overall list includes to many false positives * new optional config parm 'adb_hotplugif' to restrict hotplug support to a certain wan interface or to disable it at all * documentation update * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
@@ -15,6 +15,9 @@ f_envload
|
||||
|
||||
if [ "${INTERFACE}" = "${adb_wanif4}" ] || [ "${INTERFACE}" = "${adb_wanif6}" ]
|
||||
then
|
||||
/etc/init.d/adblock start
|
||||
f_log "adblock service started due to '${ACTION}' of '${INTERFACE}' interface"
|
||||
if [ -z "${adb_hotplugif}" ] || [ "${INTERFACE}" = "${adb_hotplugif}" ]
|
||||
then
|
||||
/etc/init.d/adblock start
|
||||
f_log "adblock service started due to '${ACTION}' of '${INTERFACE}' interface"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user