Update 90-run.sh

This commit is contained in:
Alexandre authored and GitHub committed 2022-11-24 04:21:58 +01:00
1 parent 033c9e1fe9
commit d2f64b23f8
1 file changed
-13
-13
View File
@@ -1,19 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
#########################
# EXPOSE COLLECTOR.YAML #
#########################
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 /opt/scrutiny/config /share/scrutiny
rm -R /opt/scrutiny/config
ln -s /share/scrutiny /opt/scrutiny/config
chmod 777 -R /share/scrutiny
fi
######## ########
# MODE # # MODE #
######## ########