mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 00:31:51 +02:00
This commit is contained in:
19
birdnet-go/rootfs/etc/cont-init.d/99-run.sh
Normal file
19
birdnet-go/rootfs/etc/cont-init.d/99-run.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/command/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
set -e
|
||||
|
||||
#################
|
||||
# INITALISATION #
|
||||
#################
|
||||
|
||||
bashio::log.info "ALSA_CARD option is set to $(bashio::config "ALSA_CARD"). If the microphone doesn't work, please adapt it"
|
||||
bashio::log.blue "Listing available listening devices"
|
||||
arecord -l
|
||||
echo " "
|
||||
|
||||
########################
|
||||
# CONFIGURE birdnet-go #
|
||||
########################
|
||||
|
||||
bashio::log.info "Starting app..."
|
||||
/usr/bin/birdnet-go realtime
|
||||
Reference in New Issue
Block a user