mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
Update 61-trusted_domains
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
|
# permissions
|
||||||
|
chown abc:abc \
|
||||||
|
/data/config/www/nextcloud/config/config.php
|
||||||
|
|
||||||
if bashio::config.has_value 'trusted_domains'; then
|
if bashio::config.has_value 'trusted_domains'; then
|
||||||
bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \
|
bashio::log.info "Trusted domains set in the configuration. Refreshing domains." && \
|
||||||
LAUNCHER=`find / -name "occ"`
|
LAUNCHER=`find / -name "occ"`
|
||||||
@@ -30,3 +34,7 @@ fi
|
|||||||
|
|
||||||
bashio::log.info "Remaining configurated trusted domains :"
|
bashio::log.info "Remaining configurated trusted domains :"
|
||||||
bashio::log.info `$LAUNCHER config:system:get trusted_domains`
|
bashio::log.info `$LAUNCHER config:system:get trusted_domains`
|
||||||
|
|
||||||
|
# permissions
|
||||||
|
chown abc:abc \
|
||||||
|
/data/config/www/nextcloud/config/config.php
|
||||||
|
|||||||
Reference in New Issue
Block a user