From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] unbound: speed-up remove forwarders Date: Mon, 02 Mar 2020 12:06:09 +0000 Message-ID: In-Reply-To: <20200301194113.16841-1-arne_f@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7858466518811506133==" List-Id: --===============7858466518811506133== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I am not entirely happy with the style of this fix, but it good enough to be = shipped as a hot fix for now. I will have a look to remove too many steps during the reload phase and that = potentially includes finding another way how to handle Safe Search. Thanks for looking into this. Best, -Michael > On 1 Mar 2020, at 19:41, Arne Fitzenreiter wrote: >=20 > Signed-off-by: Arne Fitzenreiter > --- > src/initscripts/system/unbound | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > 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 >=20 > + if [ "$1" =3D "remove-forwarders" ]; then > + exit 0 > + fi > + > # Dummy Resolve to wait for unbound > resolve "ping.ipfire.org" &>/dev/null >=20 > --=20 > 2.17.1 >=20 --===============7858466518811506133==--