mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-17 06:11:49 +02:00
Update 90-run.sh
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
if bashio::config.true "expose_collector"; then
|
if bashio::config.true "expose_collector"; then
|
||||||
bashio::log.info "collector.yaml exposed in /share/scrutiny"
|
bashio::log.info "collector.yaml exposed in /share/scrutiny"
|
||||||
mkdir -p /share/scrutiny
|
mkdir -p /share/scrutiny
|
||||||
if [ -f /data/config/collector.yaml] ; then
|
if [ -f /data/config/collector.yaml ] ; then
|
||||||
cp -rnf /data/config/collector.yaml /share/scrutiny || true
|
cp -rnf /data/config/collector.yaml /share/scrutiny || true
|
||||||
rm -R /data/config/collector.yaml
|
rm -R /data/config/collector.yaml
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user