From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] unbound: Remove test to check if RED is up Date: Tue, 26 Nov 2019 12:59:14 +0000 Message-ID: <20191126125914.14435-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4785969963420683728==" List-Id: --===============4785969963420683728== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This has caused some trouble in many environments and I think it makes sense to disable this for now until we have reworked the whole DNS thing. Signed-off-by: Michael Tremer --- src/initscripts/system/unbound | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index 8eaf3734a..345b01bb5 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -48,22 +48,6 @@ read_name_servers() { done 2>/dev/null | xargs echo } =20 -check_red_has_carrier_and_ip() { - # Interface configured ? - [ ! -e "/var/ipfire/red/iface" ] && return 0; - - # Interface present ? - [ ! -e "/sys/class/net/$( /dev/null 2>&1 if [ "${?}" !=3D "0" ]; then boot_mesg "DNS still not functioning... Trying to sync time with ntp.ipfi= re.org (81.3.27.46)..." --=20 2.20.1 --===============4785969963420683728==--