Re: [tzsetup] can't set up local timezone if CMOS is set to UTC

From: Boris Samorodov <bsam_at_passap.ru>
Date: Mon, 7 Aug 2017 11:35:09 +0000
07.08.2017 10:54, Trond Endrestøl пишет:
> On Mon, 7 Aug 2017 09:51+0300, Boris Samorodov wrote:
> 
>> So my question is: how to set up local time zone if CMOS is set to UTC?
> 
> My timezone is Europe/Oslo, adjust to fit your timezone:
> 
> rm -f /etc/wall_cmos_clock
> cp -p /usr/share/zoneinfo/Europe/Oslo /etc/localtime
> echo Europe/Oslo > /var/db/zoneinfo

Done. Got UTC time marked as local time.
(Five minutes later) Ntpdate fixed it, now local time is OK.
Thank you, Trond.

And (seems to be) the final question: can that be done via
tzsetup (as it used to be)?

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Received on Mon Aug 07 2017 - 09:35:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC