diff --git a/birdnet-go/rootfs/etc/cont-init.d/01-structure.sh b/birdnet-go/rootfs/etc/cont-init.d/01-structure.sh index 67a08e82f..8b73ba923 100755 --- a/birdnet-go/rootfs/etc/cont-init.d/01-structure.sh +++ b/birdnet-go/rootfs/etc/cont-init.d/01-structure.sh @@ -4,11 +4,11 @@ set -e # Default Variables DEFAULT_BIRDSONGS_FOLDER="/data/clips/" -CONFIG_LOCATIONS=("/config/config.yaml" "/internal/conf/config.yaml") +CONFIG_LOCATIONS=("/config/config.yaml") if [ ! -f /config/config.yaml ]; then - bashio::log.warning "There is no config.yaml yet in the config folder, creating a default one. Please customize" - cp /internal/conf/config.yaml /config/ + bashio::log.warning "There is no config.yaml yet in the config folder, downloading a default one. Please customize" + curl -L -s -S https://raw.githubusercontent.com/tphakala/birdnet-go/refs/heads/main/internal/conf/config.yaml -o /config/config.yaml fi #################