mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
unbound: Silence error when upstream name servers cannot be read
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -61,7 +61,7 @@ read_name_servers() {
|
|||||||
local i
|
local i
|
||||||
for i in 1 2; do
|
for i in 1 2; do
|
||||||
echo "$(</var/ipfire/red/dns${i})"
|
echo "$(</var/ipfire/red/dns${i})"
|
||||||
done | xargs echo
|
done 2>/dev/null | xargs echo
|
||||||
}
|
}
|
||||||
|
|
||||||
config_header() {
|
config_header() {
|
||||||
|
|||||||
Reference in New Issue
Block a user