From fab1ace9a315162392b8545bec474a225776a13f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 9 Jul 2026 17:08:35 +0200 Subject: [PATCH] Disable user-provided ALSA config handling Commented out the section that handles user-provided ALSA config. --- birdnet-go/rootfs/etc/cont-init.d/99-run.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/birdnet-go/rootfs/etc/cont-init.d/99-run.sh b/birdnet-go/rootfs/etc/cont-init.d/99-run.sh index 664bc2cfb5..32e6f3d46d 100755 --- a/birdnet-go/rootfs/etc/cont-init.d/99-run.sh +++ b/birdnet-go/rootfs/etc/cont-init.d/99-run.sh @@ -11,16 +11,16 @@ echo " " # Allow advanced users to supply their own ALSA config (e.g. to enable JACK # or a custom dsnoop chain) by dropping asound.conf into the addon config # folder. Written to /root/.asoundrc because /etc/asound.conf is read-only. -if [ -f /config/asound.conf ]; then - if [ -r /config/asound.conf ]; then - bashio::log.info "Using user-provided /config/asound.conf, overriding addon defaults" - if ! cp /config/asound.conf /root/.asoundrc; then - bashio::log.warning "Failed to copy /config/asound.conf; continuing with bundled /root/.asoundrc defaults" - fi - else - bashio::log.warning "/config/asound.conf exists but is not readable; continuing with bundled /root/.asoundrc defaults" - fi -fi +#if [ -f /config/asound.conf ]; then +# if [ -r /config/asound.conf ]; then +# bashio::log.info "Using user-provided /config/asound.conf, overriding addon defaults" +# if ! cp /config/asound.conf /root/.asoundrc; then +# bashio::log.warning "Failed to copy /config/asound.conf; continuing with bundled /root/.asoundrc defaults" +# fi +# else +# bashio::log.warning "/config/asound.conf exists but is not readable; continuing with bundled /root/.asoundrc defaults" +# fi +#fi # Check if alsa_card is provided CONFIG_LOCATION="/config/config.yaml"