openwrt/package/base-files/files/etc/init.d
Yuan Tao fa08d900d4 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-19 20:04:59 +08:00
..
boot
done
gpio_switch
led base-files: LED/trigger/heartbeat: Add support for inversion 2022-08-06 19:58:46 +02:00
sysctl
sysfixtime base-files: sysfixtime: Fix time on the fake RTC 2023-02-19 20:04:59 +08:00
system
umount