From da2617378523e007ec0c6efe99d0cebb2be994e1 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 25 May 2011 18:21:36 +0200 Subject: drop hwclock-save.service We don't want to fiddle around changing the RTC, not on bootup, not on shutdown. If we don't run NTP, we have absolutely no clue what's the current time to store in the RTC. If we run NTP, the kernel syncs the system time every 11 minutes to the RTC. Especially in multi-boot environents we must not call hwclock(8) which tries to be smart with calculating/storing/applying drifts and such. Live-CDs must never touch the RTC, because we don't know if it is running in UTC or locatime. --- units/hwclock-save.service | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 units/hwclock-save.service (limited to 'units') diff --git a/units/hwclock-save.service b/units/hwclock-save.service deleted file mode 100644 index dedee767a2..0000000000 --- a/units/hwclock-save.service +++ /dev/null @@ -1,17 +0,0 @@ -# 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. - -[Unit] -Description=Update RTC With System Clock -DefaultDependencies=no -After=hwclock-load.service -Before=shutdown.target -Conflicts=hwclock-load.service - -[Service] -Type=oneshot -ExecStart=/sbin/hwclock --systohc -- cgit v1.2.3-54-g00ecf