diff --git a/birdnet-pi/rootfs/helpers/timedatectl b/birdnet-pi/rootfs/helpers/timedatectl index 3f8f0aa40..5a7398b65 100644 --- a/birdnet-pi/rootfs/helpers/timedatectl +++ b/birdnet-pi/rootfs/helpers/timedatectl @@ -29,12 +29,13 @@ case "$1" in "set-ntp") case "$2" in "false") + sudo systemctl stop systemd-timesyncd sudo systemctl disable systemd-timesyncd echo "NTP disabled" ;; "true") - sudo systemctl enable systemd-timesyncd sudo systemctl start systemd-timesyncd + sudo systemctl enable systemd-timesyncd echo "NTP enabled" ;; *)