Re: adjtime without 3rd line: RTC is local or UTC?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 21, 2011 at 01:31:07PM +0000, Daniel Drake wrote:
> From a09091f19c38a82b9a39b43ebded1f9c66fabea4 Mon Sep 17 00:00:00 2001
> From: Daniel Drake <dsd@xxxxxxxxxx>
> Date: Mon, 21 Feb 2011 13:27:07 +0000
> Subject: [PATCH] hwclock: make RTC default to UTC time
> 
> If /etc/adjtime doesn't specify UTC or LOCAL, rtcwake defaults to UTC
> and hwclock defaults to LOCAL.
> 
> Switch hwclock to meet the behaviour of rtcwake (default=UTC), also
> matching the kernel's CONFIG_RTC_HCTOSYS behaviour.
> 
> The user impact of this change should be minimal, as anyone who has run
> "hwclock --systohc" before will have their UTC/LOCAL choice already
> recorded in /etc/adjtime.
> 
> Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>
> ---
>  hwclock/hwclock.8 |    2 +-
>  hwclock/hwclock.c |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

 Applied, thanks.

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux