From 1b481f844e6ba0a3ddee96cad561d8180a023d38 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:50:46 +0200 Subject: [PATCH] Allow running as any user --- birdnet-pi/rootfs/helpers/timedatectl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/birdnet-pi/rootfs/helpers/timedatectl b/birdnet-pi/rootfs/helpers/timedatectl index f8e1eb726..93f30ef83 100644 --- a/birdnet-pi/rootfs/helpers/timedatectl +++ b/birdnet-pi/rootfs/helpers/timedatectl @@ -1,11 +1,5 @@ #!/bin/bash -# Check if the script is being run as root -if [ "$(id -u)" -ne 0 ]; then - echo "This script must be run as root or with sudo." - exit 1 -fi - # Function to show the current timezone using two alternative methods show_timezone() { if [ -f /data/timezone ]; then