Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2017 12:54:55 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD current <freebsd-current@FreeBSD.org>
Subject:   Re: [tzsetup] can't set up local timezone if CMOS is set to UTC
Message-ID:  <alpine.BSF.2.21.1708071251330.55225@mail.fig.ol.no>
In-Reply-To: <b4533890-5e28-8ee2-f3c6-9cc3459c7b17@passap.ru>
References:  <b8836d4d-302c-5b75-1c71-30f2cb941e24@passap.ru> <b4533890-5e28-8ee2-f3c6-9cc3459c7b17@passap.ru>

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

-- 
Trond.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.1708071251330.55225>