From 40bc113b6850d38201775883d95df28ca7151f15 Mon Sep 17 00:00:00 2001 From: mfjurbala Date: Sat, 26 Apr 2025 19:05:32 -0400 Subject: [PATCH] Fix issue #49: Show correct time on login/lock screen During install, the file /var/db/zoneinfo is not created. This change now creates the file so the user's local time is shown on the login and lock screens. --- backend/functions-localize.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/functions-localize.sh b/backend/functions-localize.sh index 63b2cdf..604f9bc 100755 --- a/backend/functions-localize.sh +++ b/backend/functions-localize.sh @@ -212,6 +212,7 @@ set_timezone() { TZONE="$1" cp ${FSMNT}/usr/share/zoneinfo/${TZONE} ${FSMNT}/etc/localtime + echo ${TZONE} | tee ${FSMNT}/var/db/zoneinfo > /dev/null }; # Function which enables / disables NTP