mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 09:58:16 +01:00
Clean config path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user