* fix possible dns restart issue with DNS File Reset (race condition)
Signed-off-by: Dirk Brenken <redacted>
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 <dev@brenken.org>
#
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
else
"/etc/init.d/${adb_dns}" restart >/dev/null 2>&1
fi
+ sleep 5
while [ "${cnt}" -le 10 ]
do
;;
esac
out_rc=0
- sleep 1
break
fi
cnt=$((cnt+1))