Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Jun 12, 2024
1 parent 57257e6 commit 244f14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion birdnet-pi/rootfs/helpers/timedatectl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set_timezone() {
echo "$new_timezone" | sudo tee /etc/timezone >/dev/null
sudo ln -sf /usr/share/zoneinfo/"$new_timezone" /etc/localtime
if [ -f /etc/environment ]; then sudo sed -i "/TZ/c\TZ=$new_timezone" /etc/environment; fi
if [ -d /var/run/s6/container_environment ]; then sudo echo "$new_timezone" > /var/run/s6/container_environment/TZ; fi
if [ -d /var/run/s6/container_environment ]; then echo "$new_timezone" | sudo tee /var/run/s6/container_environment/TZ > /dev/null; fi
echo "$new_timezone"
}

Expand Down

0 comments on commit 244f14e

Please sign in to comment.