unbound: speed-up remove forwarders

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2020-03-01 20:41:13 +01:00
parent b3ab7916e0
commit 770a1507dd

View File

@@ -595,6 +595,10 @@ case "$1" in
# Call unbound-control and perform the reload
/usr/sbin/unbound-control -q reload
if [ "$1" = "remove-forwarders" ]; then
exit 0
fi
# Dummy Resolve to wait for unbound
resolve "ping.ipfire.org" &>/dev/null