Clean config path

This commit is contained in:
Alexandre
2025-05-15 10:13:10 +02:00
committed by GitHub
parent e496d45190
commit 19ec9498a8

View File

@@ -2,17 +2,9 @@
# shellcheck shell=bash
set -e
# Ensure required commands are installed
for cmd in yq amixer; do
command -v "$cmd" >/dev/null 2>&1 || { bashio::log.fatal "$cmd is required but not installed. Exiting."; exit 1; }
done
# Default Variables
DEFAULT_BIRDSONGS_FOLDER="/data/clips/"
CONFIG_LOCATION="/config/config.yaml"
touch "$CONFIG_LOCATION"
mkdir -p /root/.config/birdnet-go/
ln -sf "$CONFIG_LOCATION" /root/.config/birdnet-go/config.yaml
#################
# Migrate Database