From: Arne Fitzenreiter Date: Thu, 4 Jul 2019 18:42:47 +0000 (+0200) Subject: unbound: check if red/iface exists before read it X-Git-Tag: v2.23-core135^2~36 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=4cd82be05f21bcf49e38793e41730923a0107a0b;hp=fd244f4327bcfb945d4a30d67e0634279a835e37 unbound: check if red/iface exists before read it Signed-off-by: Arne Fitzenreiter --- diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index ccb5fae219..5d3c5062ff 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -48,7 +48,7 @@ config_header() { } update_forwarders() { - if [ "${USE_FORWARDERS}" = "1" -a "$( /dev/null 2>&1 if [ "${?}" != "0" ]; then boot_mesg "DNS still not functioning... Trying to sync time with ntp.ipfire.org (81.3.27.46)..."