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 base-files: call "sync" after initial setup 2022-03-12 11:13:54 +00:00
done base-files: prevent issues w/ overlay on powerloss after sysupgrade 2020-06-03 16:49:28 +02:00
gpio_switch base-files: gpio switch: add named GPIO support 2020-06-18 20:08:18 +02:00
led base-files: LED/trigger/heartbeat: Add support for inversion 2022-08-06 19:58:46 +02:00
sysctl base-files: fix wrong sysctl parameter order 2018-07-18 19:17:46 +02:00
sysfixtime base-files: sysfixtime: Fix time on the fake RTC 2023-02-19 20:04:59 +08:00
system base-files: fix /tmp/TZ when zoneinfo not installed 2021-06-24 20:00:20 -10:00
umount base-files: supress service restart of umount 2019-07-03 07:45:00 +02:00