mirror of
https://github.com/novatiq/packages.git
synced 2026-07-29 23:03:06 +01:00
adblock: 0.90.0
* all relevant adblock events will be properly written to syslog/stdout * removed needless 'debug log' option * add optional parm 'adb_forcedns' to redirect all queries to local resolver (default: '1', enabled) * revised space check * various code cosmetics & cleanups Signed-off-by: Dirk Brenken <openwrt@brenken.org>
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
if [ -f "/var/run/adblock.pid" ] || [ "${ACTION}" != "ifup" ]
|
||||
adb_pid="${$}"
|
||||
adb_pidfile="/var/run/adblock.pid"
|
||||
adb_logger="/usr/bin/logger"
|
||||
|
||||
if [ -f "${adb_pidfile}" ] || [ "${ACTION}" != "ifup" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
. /lib/functions/network.sh
|
||||
adb_pid="${$}"
|
||||
adb_logger="/usr/bin/logger"
|
||||
network_find_wan adb_wanif4
|
||||
network_find_wan6 adb_wanif6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user