mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 01-configuration.sh
This commit is contained in:
@@ -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 #
|
||||
#################
|
||||
|
||||
Reference in New Issue
Block a user