On Sun Mar 18 12:40:10 2001 Carel Fellinger wrote... > >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: >
/etc/adjtime does have a line whose contents are UTC. And /etc/timezone has US/Eastern in it. Acording to my reconicking UTC ast I write this should be Sun Mar 18 20:05:59 GMT 2001, that's Sun Mar 18 15:06:27 EST 2001, in the US's Eastern time zone. hwclock --show shows 22:59 . I'm confused, where am I going wrong? -- Stan Brown [EMAIL PROTECTED] 843-745-3154 Charleston SC. -- Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. - (c) 2000 Stan Brown. Redistribution via the Microsoft Network is prohibited.