mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 09:58:16 +01:00
Update 52-trusted_domains
This commit is contained in:
@@ -5,7 +5,7 @@ if bashio::config.has_value 'trusted_domains'; then
|
||||
###################################
|
||||
# Remove previous trusted domains #
|
||||
###################################
|
||||
bashio::log.info "... removing previously added trusted domain (except for first one created - this >
|
||||
bashio::log.info "... removing previously added trusted domain (except for first one created)"
|
||||
i=2
|
||||
until [ $i -gt 5 ]
|
||||
do
|
||||
@@ -24,8 +24,7 @@ if bashio::config.has_value 'trusted_domains'; then
|
||||
bashio::log.info "... adding ${domain}" && \
|
||||
/usr/bin/occ config:system:set trusted_domains $i --value=${domain} && \
|
||||
((i=i+1))
|
||||
done || \
|
||||
|
||||
done
|
||||
fi
|
||||
|
||||
bashio::log.info "Remaining configurated trusted domains :"
|
||||
|
||||
Reference in New Issue
Block a user