Github bot : script beautyshied

This commit is contained in:
github-actions
2022-11-27 00:14:25 +00:00
parent a7d64944bc
commit 8866602cad
4 changed files with 27 additions and 27 deletions

View File

@@ -6,12 +6,12 @@
#########################
if bashio::config.true "expose_collector"; then
bashio::log.info "collector.yaml exposed in /share/scrutiny. It will only be accessible if the addon is running"
mkdir -p /share/scrutiny
cp -rnf /data/config/collector.yaml /share/scrutiny || true
rm -R /data/config/collector.yaml
ln -s /share/scrutiny/collector.yaml /data/config
chmod 777 -R /share/scrutiny
bashio::log.info "collector.yaml exposed in /share/scrutiny. It will only be accessible if the addon is running"
mkdir -p /share/scrutiny
cp -rnf /data/config/collector.yaml /share/scrutiny || true
rm -R /data/config/collector.yaml
ln -s /share/scrutiny/collector.yaml /data/config
chmod 777 -R /share/scrutiny
fi
########