File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -2720,6 +2720,14 @@ Patch_9_20()
27202720 fi
27212721 fi
27222722
2723+ # BirdNET-Go
2724+ if grep -q ' ^[[:blank:]]*aSOFTWARE_INSTALL_STATE\[127\]=2' /boot/dietpi/.installed
2725+ then
2726+ G_DIETPI-NOTIFY 2 ' Fixing local sound card detection for BirdNET-Go'
2727+ G_EXEC usermod -aG audio birdnet
2728+ G_EXEC sed --follow-symlinks -i ' /^PrivateDevices=/d' /etc/systemd/system/birdnet.service
2729+ fi
2730+
27232731 # Pi-hole v6 migration
27242732 # - /etc/pihole/pihole.toml indicates that Pi-hole has been upgraded to v6 already.
27252733 # - The /var/www/pihole symlink indicates that an instance installed via dietpi-software has not been migrated yet.
Original file line number Diff line number Diff line change @@ -12339,7 +12339,7 @@ _EOF_
1233912339 fi
1234012340
1234112341 # Service
12342- cat << _EOF_ > /etc/systemd/system/birdnet.service
12342+ cat << _EOF_ > /etc/systemd/system/birdnet.service || exit 1
1234312343[Unit]
1234412344Description=BirdNet-Go
1234512345Wants=network-online.target
You can’t perform that action at this time.
0 commit comments