Commit 5481ab2b authored by Lennart Poettering's avatar Lennart Poettering
Browse files

units: add hwclock-load service

parent 2dc11f99
......@@ -156,6 +156,7 @@ dist_systemunit_DATA = \
units/var-lock.service \
units/var-run.mount \
units/var-run.service \
units/hwclock-load.service \
units/hwclock-save.service \
units/sysctl.service \
units/ \
# This file is part of systemd.
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
Description=Apply System Clock UTC Offset
DefaultDependencies=no udev.service
ExecStart=/sbin/hwclock --systz
# Note the weird semantics if hwclock and the kernel here: the first
# settimeofday() invocation from userspace is special and may be used
# to set the offset from UTC of the system clock. It is independent
# of any specific RTC device. This is mostly a crufty hack to support
# legacy operating systems which insist on storing local time in the
# RTC.
# Note that we do not run --hctosys here, we assume the kernel
# includes a compiled in RTC module which is used to initialize the
# system time as part of kernel setup.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment