mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 08:35:57 +02:00
Update 90-dns_set.sh
This commit is contained in:
@@ -21,6 +21,7 @@ if bashio::config.has_value 'DNS_server'; then
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Write resolv.conf
|
# Write resolv.conf
|
||||||
|
# shellcheck disable=SC2059
|
||||||
printf "${DNS}" >/etc/resolv.conf
|
printf "${DNS}" >/etc/resolv.conf
|
||||||
chmod 644 /etc/resolv.conf
|
chmod 644 /etc/resolv.conf
|
||||||
bashio::log.info "DNS SERVERS set to $DNSLIST"
|
bashio::log.info "DNS SERVERS set to $DNSLIST"
|
||||||
|
|||||||
Reference in New Issue
Block a user