Skip to content

Commit

Permalink
Update src/bash_functions.sh
Browse files Browse the repository at this point in the history
Co-authored-by: yubiuser <[email protected]>
Signed-off-by: Adam Warner <[email protected]>
  • Loading branch information
PromoFaux and yubiuser authored Jul 2, 2024
1 parent 99f459e commit 2922fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bash_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ensure_basic_configuration() {
chown pihole:pihole /macvendor.db
fi

# If getFTLConfigValue "dns.upstreams" returns [], exit the container. We need upstream servers to function!
# If getFTLConfigValue "dns.upstreams" returns [], default to Google's DNS server
if [[ $(getFTLConfigValue "dns.upstreams") == "[]" ]]; then
echo " [i] No DNS upstream set in environment or config file, defaulting to Google DNS"
setFTLConfigValue "dns.upstreams" "[\"8.8.8.8\", \"8.8.4.4\"]"
Expand Down

0 comments on commit 2922fbd

Please sign in to comment.