* refine manual/backup mode (exclude local blacklist processing)
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
include $(TOPDIR)/rules.mk
PKG_NAME:=adblock
include $(TOPDIR)/rules.mk
PKG_NAME:=adblock
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0+
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0+
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
#
LC_ALL=C
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
#
LC_ALL=C
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
adb_sysver="$(ubus -S call system board | jsonfilter -e '@.release.description')"
adb_enabled=1
adb_debug=0
adb_sysver="$(ubus -S call system board | jsonfilter -e '@.release.description')"
adb_enabled=1
adb_debug=0
- if [ ${adb_manmode} -eq 1 ] && [ -z "${adb_action}" ]
+ if [ ${adb_manmode} -eq 1 ] && [ -z "${adb_action}" ] && [ "${src_name}" != "blacklist" ]
then
f_list restore
if [ ${adb_rc} -eq 0 ] && [ -s "${adb_tmpfile}" ]
then
f_list restore
if [ ${adb_rc} -eq 0 ] && [ -s "${adb_tmpfile}" ]
- # hash preparation & overall sort
+ # hash preparation and overall sort
#
if [ -f "${adb_dnsdir}/${adb_dnsfile}" ]
then
#
if [ -f "${adb_dnsdir}/${adb_dnsfile}" ]
then