mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 14:54:07 +02:00
other base image
This commit is contained in:
24
zzz_draft_birdnet-pi2/rootfs/etc/cont-init.d/99-run.sh
Normal file
24
zzz_draft_birdnet-pi2/rootfs/etc/cont-init.d/99-run.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/command/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
set -e
|
||||
|
||||
#################
|
||||
# INITALISATION #
|
||||
#################
|
||||
|
||||
# Starting dbus
|
||||
echo "Starting service: dbus"
|
||||
service dbus start
|
||||
|
||||
bashio::log.info "ALSA_CARD option is set to $(bashio::config "ALSA_CARD"). If the microphone doesn't work, please adapt it"
|
||||
echo " "
|
||||
|
||||
########################
|
||||
# CONFIGURE birdnet-pi2 #
|
||||
########################
|
||||
|
||||
bashio::log.info "Starting app..."
|
||||
|
||||
if [ ! -f /config/birdnet.conf ]; then
|
||||
cp /etc/birdnet/birdnet.conf /config
|
||||
fi
|
||||
Reference in New Issue
Block a user