public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Arne Fitzenreiter <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 3b45d9561b6d30d9491419a2022f2befaf2b2f4a
Date: Sat, 19 Feb 2022 15:54:25 +0000	[thread overview]
Message-ID: <4K1Cmf03JFz2xf0@people01.haj.ipfire.org> (raw)

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

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  3b45d9561b6d30d9491419a2022f2befaf2b2f4a (commit)
       via  2ecb2784625f597c676533f63859b49e416f53a1 (commit)
      from  926d840faeafe9528532f42aa12a0922188c1959 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3b45d9561b6d30d9491419a2022f2befaf2b2f4a
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Sat Feb 19 15:53:54 2022 +0000

    core164: add unbound initskript
    
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

commit 2ecb2784625f597c676533f63859b49e416f53a1
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Sat Feb 19 09:22:06 2022 +0100

    unbound: fix dns working check
    
    pool.ipfire.org cannot resolved. Now try both default dns
    servers. If one works dns is working.
    
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
    Reviewed-by: Peter Müller <peter.mueller(a)ipfire.org>
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/rootfiles/core/164/filelists/files | 1 +
 src/initscripts/system/unbound            | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

Difference in files:
diff --git a/config/rootfiles/core/164/filelists/files b/config/rootfiles/core/164/filelists/files
index 278dc20a6..89118ae62 100644
--- a/config/rootfiles/core/164/filelists/files
+++ b/config/rootfiles/core/164/filelists/files
@@ -3,6 +3,7 @@ etc/rc.d/init.d/firewall
 etc/rc.d/init.d/leds
 etc/rc.d/init.d/partresize
 etc/rc.d/init.d/squid
+etc/rc.d/init.d/unbound
 etc/suricata/suricata.yaml
 etc/sysctl.conf
 opt/pakfire/lib/functions.pl
diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound
index 1b42ac720..b959520a1 100644
--- a/src/initscripts/system/unbound
+++ b/src/initscripts/system/unbound
@@ -267,7 +267,8 @@ get_memory_amount() {
 
 fix_time_if_dns_fails() {
 	# If DNS is working, everything is fine
-	if resolve "ipfire.pool.ntp.org" &>/dev/null; then
+	if resolve "0.ipfire.pool.ntp.org" &>/dev/null || \
+	   resolve "1.ipfire.pool.ntp.org" &>/dev/null ; then
 		return 0
 	fi
 


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2022-02-19 15:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4K1Cmf03JFz2xf0@people01.haj.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox