diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | units/hwclock-load.service | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index f5d46904af..6efba24a53 100644 --- a/Makefile.am +++ b/Makefile.am @@ -996,7 +996,6 @@ install-data-hook: systemd-vconsole-setup.service \ systemd-modules-load.service \ systemd-random-seed-load.service \ - hwclock-load.service \ sysctl.service \ tmpwatch.timer \ tmpwatch.service && \ @@ -1008,7 +1007,6 @@ install-data-hook: $(LN_S) ../systemd-vconsole-setup.service && \ $(LN_S) ../systemd-modules-load.service && \ $(LN_S) ../systemd-random-seed-load.service && \ - $(LN_S) ../hwclock-load.service && \ $(LN_S) ../sysctl.service && \ $(LN_S) ../tmpwatch.timer && \ $(LN_S) ../tmpwatch.service ) diff --git a/units/hwclock-load.service b/units/hwclock-load.service index 493c7653a9..85d56db5d2 100644 --- a/units/hwclock-load.service +++ b/units/hwclock-load.service @@ -26,3 +26,6 @@ ExecStart=/sbin/hwclock --systz # 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. + +[Install] +WantedBy=sysinit.target |