lede-Heleguo/package/base-files/files/etc/init.d
Yuan Tao ccb04d670d base-files: sysfixtime: Fix time on the fake RTC
On some devices the chip has RTC but no battery save time.
This leads back to getting the wrong time
and skipping the check of the last file modification date.

This commit ensures that the file time is checked even
if the RTC exists.
which would ordinarily return an approbiate
system time used for e.g. certificate generation.

Tested-on: NanoPi R2S

Signed-off-by: Yuan Tao <ty@wevs.org>
2023-02-22 23:35:16 +08:00
..
boot base-files: call "sync" after initial setup 2022-12-08 17:32:22 +08:00
done Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
gpio_switch Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
led add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
sysctl
sysfixtime base-files: sysfixtime: Fix time on the fake RTC 2023-02-22 23:35:16 +08:00
system base-files: fix /tmp/TZ when zoneinfo not installed 2022-12-08 17:35:37 +08:00
umount Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00