mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
Lint
This commit is contained in:
@@ -21,7 +21,7 @@ if bashio::config.has_value 'DNS_server'; then
|
||||
done
|
||||
|
||||
# Write resolv.conf
|
||||
printf "${DNS}" >/etc/resolv.conf
|
||||
printf "%s" "${DNS}" >/etc/resolv.conf
|
||||
chmod 644 /etc/resolv.conf
|
||||
bashio::log.info "DNS SERVERS set to $DNSLIST"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user