From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: [PATCH] unbound: speed-up remove forwarders Date: Sun, 01 Mar 2020 20:41:13 +0100 Message-ID: <20200301194113.16841-1-arne_f@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6976790052675035699==" List-Id: --===============6976790052675035699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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 --===============6976790052675035699==--