From 219abdc5a13cfe7b4c1e567c586d992f03e2d73f Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sat, 23 Nov 2019 13:44:54 +0100 Subject: [PATCH] adblock: update 3.8.12 * fix possible dns restart issue with DNS File Reset (race condition) Signed-off-by: Dirk Brenken --- net/adblock/Makefile | 2 +- net/adblock/files/adblock.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/adblock/Makefile b/net/adblock/Makefile index b48f86b14..a1eae1bd8 100644 --- a/net/adblock/Makefile +++ b/net/adblock/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=adblock -PKG_VERSION:=3.8.11 +PKG_VERSION:=3.8.12 PKG_RELEASE:=1 PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Dirk Brenken diff --git a/net/adblock/files/adblock.sh b/net/adblock/files/adblock.sh index 2ed382fd9..70ab4fa8c 100755 --- a/net/adblock/files/adblock.sh +++ b/net/adblock/files/adblock.sh @@ -13,7 +13,7 @@ # LC_ALL=C PATH="/usr/sbin:/usr/bin:/sbin:/bin" -adb_ver="3.8.11" +adb_ver="3.8.12" adb_basever="" adb_enabled=0 adb_debug=0 @@ -536,6 +536,7 @@ f_dnsup() else "/etc/init.d/${adb_dns}" restart >/dev/null 2>&1 fi + sleep 5 while [ "${cnt}" -le 10 ] do @@ -565,7 +566,6 @@ f_dnsup() ;; esac out_rc=0 - sleep 1 break fi cnt=$((cnt+1))