mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-21 20:16:28 +01:00
Fix gotty
This commit is contained in:
@@ -8,5 +8,14 @@ if bashio::config.true "NO_NOISE_MODEL"; then
|
||||
sed -i "s|server.py --area|server.py --no_noise on --area|g" "$HOME"/BirdNET-Pi/scripts/batnet_analysis.sh
|
||||
fi
|
||||
|
||||
# Install gotty for amd64
|
||||
if [ "$(uname -m)" == "x86_64" ]; then
|
||||
bashio::log.info "Install gotty for amd64"
|
||||
curl -L https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz | tar xz -C /tmp
|
||||
mv /tmp/gotty /usr/local/bin/gotty
|
||||
chmod +x /usr/local/bin/gotty
|
||||
sed -i "s| -P log| log|g" "$HOME"/BirdNET-Pi/templates/birdnet_log.service
|
||||
fi
|
||||
|
||||
#sed -i "1a exit 0" /etc/cont-init.d/33-mqtt.sh
|
||||
#sed -i "1a sleep infinity" /custom-services.d/30-monitoring.sh
|
||||
|
||||
Reference in New Issue
Block a user