From 0f195a6288a899d6e1acb3c271f514bc38b5b29b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 6 Nov 2025 13:37:52 +0100 Subject: [PATCH] Remove timezone configuration from 00-env_var.sh Removed timezone setting logic from the script. --- .templates/{00-global_var.sh => 00-env_var.sh} | 12 ------------ 1 file changed, 12 deletions(-) rename .templates/{00-global_var.sh => 00-env_var.sh} (93%) diff --git a/.templates/00-global_var.sh b/.templates/00-env_var.sh similarity index 93% rename from .templates/00-global_var.sh rename to .templates/00-env_var.sh index c43cef108..222428cc5 100755 --- a/.templates/00-global_var.sh +++ b/.templates/00-env_var.sh @@ -142,15 +142,3 @@ for KEYS in "${arr[@]}"; do export_option "$KEYS" "$VALUE" fi done - -################ -# Set timezone # -################ -set +eu - -if [ -n "$TZ" ] && [ -f /etc/localtime ]; then - if [ -f /usr/share/zoneinfo/"$TZ" ]; then - echo "Timezone set from $(cat /etc/timezone) to $TZ" - ln -snf /usr/share/zoneinfo/"$TZ" /etc/localtime && echo "$TZ" > /etc/timezone - fi -fi