1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-10-04 23:39:57 +02:00
init/services
David Oberhollenzer c3249ae0c9 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 <david.oberhollenzer@tele2.at>
2018-07-22 21:38:14 +02:00
..
agetty Cleanup service dependencies 2018-07-18 21:33:25 +02:00
devfs.in Add VFS setup scripts 2018-04-07 01:33:58 +02:00
dhcpcd Cleanup service dependencies 2018-07-18 21:33:25 +02:00
dhcpcdmaster Cleanup service dependencies 2018-07-18 21:33:25 +02:00
dnsmasq Cleanup service dependencies 2018-07-18 21:33:25 +02:00
hostapd.in Add service file for hostapd 2018-07-20 20:58:34 +02:00
hostname Rely on PATH variable for running init programs 2018-04-12 12:51:33 +02:00
hwclock Cleanup service dependencies 2018-07-18 21:33:25 +02:00
ifcfg.in Cleanup service dependencies 2018-07-18 21:33:25 +02:00
ifdown.in Add ifdown service 2018-07-17 18:02:46 +02:00
ifrename.in Cleanup service dependencies 2018-07-18 21:33:25 +02:00
loopback Cleanup service dependencies 2018-07-18 21:33:25 +02:00
Makemodule.am Add swclock service for systems without a hardware RTC 2018-07-22 21:38:14 +02:00
modules.in Cleanup service dependencies 2018-07-18 21:33:25 +02:00
network Cleanup service dependencies 2018-07-18 21:33:25 +02:00
procfs.in Rely on PATH variable for running init programs 2018-04-12 12:51:33 +02:00
reboot Rely on PATH variable for running init programs 2018-04-12 12:51:33 +02:00
shutdown Rely on PATH variable for running init programs 2018-04-12 12:51:33 +02:00
sigkill.in Merge preprocessing of command lines 2018-04-04 14:58:01 +02:00
sigterm.in Rely on PATH variable for running init programs 2018-04-12 12:51:33 +02:00
swclock.in Add swclock service for systems without a hardware RTC 2018-07-22 21:38:14 +02:00
swclocksave.in Add swclock service for systems without a hardware RTC 2018-07-22 21:38:14 +02:00
sync Rely on PATH variable for running init programs 2018-04-12 12:51:33 +02:00
sysctl Cleanup service dependencies 2018-07-18 21:33:25 +02:00
sysfs.in Rely on PATH variable for running init programs 2018-04-12 12:51:33 +02:00
sysinit Cleanup service dependencies 2018-07-18 21:33:25 +02:00
tmpfs Rely on PATH variable for running init programs 2018-04-12 12:51:33 +02:00
unbound Cleanup service dependencies 2018-07-18 21:33:25 +02:00
usyslogd Cleanup service dependencies 2018-07-18 21:33:25 +02:00
vfs Cleanup service dependencies 2018-07-18 21:33:25 +02:00