From 00dfb260f05ed3bb5acf1a5f57fee2262cb7f60f Mon Sep 17 00:00:00 2001 From: Aemiii91 <44569252+Aemiii91@users.noreply.github.com> Date: Sun, 22 Dec 2024 22:25:40 +0100 Subject: [PATCH] Keep `.noTimeRestore` flag for use in Tweaks --- static/build/.tmp_update/runtime.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/build/.tmp_update/runtime.sh b/static/build/.tmp_update/runtime.sh index 7363c7f79..e032c1561 100644 --- a/static/build/.tmp_update/runtime.sh +++ b/static/build/.tmp_update/runtime.sh @@ -771,9 +771,11 @@ update_time() { if [ "$current_time" -gt "$rtc_treshold" ]; then log "RTC available, not restoring time. Current time: $current_time" + touch "$sysdir/config/.noTimeRestore" return else log "RTC not available, restoring time. Current time: $current_time" + rm -f "$sysdir/config/.noTimeRestore" > /dev/null 2>&1 fi timepath=/mnt/SDCARD/Saves/CurrentProfile/saves/currentTime.txt