From 7e069da12961073a9d8d9019e8407781e5b8903f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 6 Apr 2025 09:34:09 +0200 Subject: [PATCH] Update 01-avahi.sh --- birdnet-pi/rootfs/custom-services.d/01-avahi.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/birdnet-pi/rootfs/custom-services.d/01-avahi.sh b/birdnet-pi/rootfs/custom-services.d/01-avahi.sh index 1963c3d25..0525aa1d8 100755 --- a/birdnet-pi/rootfs/custom-services.d/01-avahi.sh +++ b/birdnet-pi/rootfs/custom-services.d/01-avahi.sh @@ -4,6 +4,9 @@ until [[ -e /var/run/dbus/system_bus_socket ]]; do sleep 1s done +TZ_VALUE="$(timedatectl show -p Timezone --value)" +export TZ="$TZ_VALUE" + echo "Starting service: avahi daemon" exec \ avahi-daemon --no-chroot