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