Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2017 11:35:09 +0000
From:      Boris Samorodov <bsam@passap.ru>
To:        freebsd-current@freebsd.org, marius@FreeBSD.org
Subject:   Re: [tzsetup] can't set up local timezone if CMOS is set to UTC
Message-ID:  <5589ae79-7893-ac15-36be-1418788c5733@passap.ru>
In-Reply-To: <alpine.BSF.2.21.1708071251330.55225@mail.fig.ol.no>
References:  <b8836d4d-302c-5b75-1c71-30f2cb941e24@passap.ru> <b4533890-5e28-8ee2-f3c6-9cc3459c7b17@passap.ru> <alpine.BSF.2.21.1708071251330.55225@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5589ae79-7893-ac15-36be-1418788c5733>