Update 99-run.sh

This commit is contained in:
Alexandre
2023-01-24 06:51:25 +01:00
committed by GitHub
parent a0833dfaef
commit 5e932ec7e2

View File

@@ -59,6 +59,7 @@ fi
# Check if config file is there, or create one from template
if [ -f "$CONFIGSOURCE" ]; then
# Create symlink if not existing yet
# shellcheck disable=SC2015
[ -f /data/config.yaml ] && rm /data/config.yaml || true
ln -sf "$CONFIGSOURCE" /data || true
bashio::log.info "Using config file found in $CONFIGSOURCE"