From 792da40360b41903bb392fe429b7e29f291e38bc Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 24 Nov 2022 04:03:33 +0100 Subject: [PATCH] Update 01-configuration.sh --- scrutiny/rootfs/etc/cont-init.d/01-configuration.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scrutiny/rootfs/etc/cont-init.d/01-configuration.sh b/scrutiny/rootfs/etc/cont-init.d/01-configuration.sh index 7d328136d..fbf5e05d4 100644 --- a/scrutiny/rootfs/etc/cont-init.d/01-configuration.sh +++ b/scrutiny/rootfs/etc/cont-init.d/01-configuration.sh @@ -1,18 +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/collector.yaml /share/scrutiny/collector.yaml - ln -s /share/scrutiny/collector.yaml /opt/scrutiny/config - chmod 777 -R /share/scrutiny -fi - ################# # Create folder # #################