From: Arne Fitzenreiter Date: Sun, 1 Mar 2020 19:41:13 +0000 (+0100) Subject: unbound: speed-up remove forwarders X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=770a1507dd750fe98f327919c9da576d6b996469;ds=sidebyside unbound: speed-up remove forwarders Signed-off-by: Arne Fitzenreiter --- 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