From c3249ae0c9777e8d16c90ce1ca441e90ad4fcf7b Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 22 Jul 2018 20:55:34 +0200 Subject: Add swclock service for systems without a hardware RTC Some systems don't have a hardware real time clock and don't know the time after bootin. An obvious soulution for this is to use time from an ntp server. Unfortunately that requires domain name resolution, which resolvers like unbound won't do for us, if the DNSSEC certificates aren't valid, which they aren't if we start out with a time around 1970-1-1. The "software clock" service tries to provide a workaround by restoring a reasonably valid time from a backup file during boot, which we update when shuting down. If we wan't a more correct time, we have to update it from NTP in between. Signed-off-by: David Oberhollenzer --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index f1b0640..e28328d 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,8 @@ services/ifcfg services/ifdown services/modules services/hostapd +services/swclock +services/swclocksave scripts/devfs.sh scripts/ifrename.sh -- cgit v1.2.3