mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 16:32:59 +02:00
convert-dns-settings: Explicitely enable using ISP name servers
The unbound initscript checks if this parameter is on. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -58,9 +58,9 @@ main() {
|
||||
# Empty the old settings file
|
||||
: > /var/ipfire/dns/settings
|
||||
|
||||
# Disable using ISP name servers when we already have some configured
|
||||
if [ ${i} -gt 3 ]; then
|
||||
echo "USE_ISP_NAMESERVERS=off" \
|
||||
# Enable using ISP name servers when no servers are configured
|
||||
if [ ${i} -eq 3 ]; then
|
||||
echo "USE_ISP_NAMESERVERS=on" \
|
||||
>> /var/ipfire/dns/settings
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user