public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] unbound: speed-up remove forwarders
@ 2020-03-01 19:41 Arne Fitzenreiter
  2020-03-02 12:06 ` Michael Tremer
  0 siblings, 1 reply; 4+ messages in thread
From: Arne Fitzenreiter @ 2020-03-01 19:41 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
---
 src/initscripts/system/unbound | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound
index b3185feab..0aab6cc8c 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.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <e6154825f7ed39f37f6a33e5bd60af3f@ipfire.org>]

end of thread, other threads:[~2020-03-03 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-01 19:41 [PATCH] unbound: speed-up remove forwarders Arne Fitzenreiter
2020-03-02 12:06 ` Michael Tremer
     [not found] <e6154825f7ed39f37f6a33e5bd60af3f@ipfire.org>
2020-03-02 16:08 ` Arne Fitzenreiter
2020-03-03 12:02   ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox