mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 90-run.sh
This commit is contained in:
@@ -11,6 +11,8 @@ if bashio::config.true "expose_collector"; then
|
||||
if [ -f /data/config/collector.yaml ] ; then
|
||||
cp -rnf /data/config/collector.yaml /share/scrutiny || true
|
||||
rm -R /data/config/collector.yaml
|
||||
elif [ -f /opt/scrutiny/config/collector.yaml ] ; then
|
||||
cp -rnf /opt/scrutiny/config/collector.yaml /share/scrutiny || true
|
||||
else
|
||||
touch /share/scrutiny/collector.yaml
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user