Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 1997 10:50:25 -0800 (PST)
From:      Josef Grosch <jgrosch@superior.truenorth.org>
To:        humphery@beagle.imall.com (Phil Humpherys)
Cc:        grog@lemis.de, questions@FreeBSD.org
Subject:   Re: timezone problem
Message-ID:  <199702011850.KAA00348@superior.truenorth.org>
In-Reply-To: <199702011809.LAA17391@beagle.imall.com> from Phil Humpherys at "Feb 1, 97 11:09:43 am"

next in thread | previous in thread | raw e-mail | index | archive | help
>
>
>Greg,
>
>I tried exactly what you suggested below, and it didn't work.
>
>
>On Sat, 1 Feb 1997 13:48:40 +0100 (MET) Greg Lehey writes
>+--------------------
>| Phil Humpherys writes:
>| >
>| > I installed 2.2-BETA, and during the install, i set my timezone to be
>| > MST.  But my system thinks that the system clock is GMT...  HOw do i
>| > fix this?
>| 
>| I'm guessing you're used to System V, where time zones are an idea in
>| the mind of the environment.  In FreeBSD, they're determined by the
>| contents of the file /etc/localtime.  To set up your local time zone,
>| do:
>| 
>| 1.  If "MST" is an abbreviation for "Mountain Standard Time", copy the
>|     contents of /usr/share/zoneinfo/America/Denver to /etc/localtime.
>| 
>| 2.  If "MST" is an abbreviation for "Middle European Summer Time",
>|     copy the contents of /usr/share/zoneinfo/Europe/Berlin to
>|     /etc/localtime.
>| 
>| /etc/localtime also takes care of daylight savings time transitions.
>| No work required.
>| 
>| Greg
>| 
>

You need to have a touch file, "/etc/wall_cmos_clock". This tells the
system that the CMOS clock is set to local time not Zulu. RTFM adjkerntz(8) 


Josef

-- 
Josef Grosch       | Laugh while you can, monkey boy ! |    FreeBSD 2.1.6
jgrosch@sirius.com |          - John Warfin -          | UNIX for the masses



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