From d2f64b23f81f2eaddf119c85b2034e2a106edfee Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 24 Nov 2022 04:21:58 +0100 Subject: [PATCH] Update 90-run.sh --- scrutiny/rootfs/etc/cont-init.d/90-run.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scrutiny/rootfs/etc/cont-init.d/90-run.sh b/scrutiny/rootfs/etc/cont-init.d/90-run.sh index b56fe2a17..2883628fa 100644 --- a/scrutiny/rootfs/etc/cont-init.d/90-run.sh +++ b/scrutiny/rootfs/etc/cont-init.d/90-run.sh @@ -1,19 +1,6 @@ #!/usr/bin/with-contenv bashio # 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 # ########