From 770a1507dd750fe98f327919c9da576d6b996469 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 1 Mar 2020 20:41:13 +0100 Subject: [PATCH] unbound: speed-up remove forwarders Signed-off-by: Arne Fitzenreiter --- src/initscripts/system/unbound | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index b3185feabb..0aab6cc8c1 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -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 -- 2.39.5