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

Re: ntpdate, /etc/timezone et all.



On Sun, Mar 18, 2001 at 10:57:37AM -0500, Stan Brown wrote:
> I am trying to get my machine to have the harware clock set to UTC, and honor the
> TZ environment variable for displaying the correct local time. I will use ntpdate
> to keep the time in synch.
> 
> Curently I have the correct timezone in /etc/timezone, and the correct offset from
> the hardware clock is being applied, but I can't seem to get my script that runs
> ntpdate to set the hardware clock to UTC. It persists in setting it to the local
> time, so my displayed time, after applying the offset, is incorect.

Not sure, but are you applying that offset yourself?  If so, are you
aware that "hwclock --show" always shows the *local* time?  Anyhow,
what's the content of /etc/adjtime? On my machine it has a line saying:

   UTC

-- 
groetjes, carel



Reply to: