Re: FIX FOR HAMM: timezone problem
OK then, just to recap -- US/Central was off by an hour (giving me
Eastern instead of Central time when syncing with xntp3).
Here is my etc/init.d/hwclock.sh:
GMT=-u
#
# Set and adjust the CMOS clock.
#
if [ ! -f /etc/adjtime ]
then
echo "0.0 0 0.0" > /etc/adjtime
fi
if [ -x /sbin/hwclock ]
then
[ "$GMT" = "-u" ] && GMT="--utc"
hwclock --adjust $GMT
hwclock --hctosys $GMT
else
[ "$GMT" = "--utc" ] && GMT="-u"
clock -a $GMT
fi
#
# Now that /usr/lib/zoneinfo should be available,
# announce the local time.
#
if [ "$VERBOSE" != no ]
then
echo
echo "Local time: `date`"
echo
fi
"David Engel" <david@ods.com> writes:
> On Tue, Jun 16, 1998 at 02:00:41PM -0400, Dale Scheetz wrote:
> > Sorry to have stayed out of this but I have been busy...
> >
> > Bottom line...tzconfig is broken.
> >
> > If you look at the list provided under US there is an entry of
> > Indiana-Eastern, and Arizona... as well. These should be linked to their
> > non-DST configuration. The ones that say eastern, and central, and
> > mountain, and pacific, should all understand daylight shaving time. (Bill,
> > I hate daylight shavings time)
> >
> > The central timezone provided by tzconfig is broken, in that it clearly
> > doesn't deal with DST correctly. I believe I have heard of this problem
> > before. I guess it is time to look at the guts of this and figure out how
> > to fix it.
>
> I'm pretty sure you are mistaken, Dale. I seriously doubt that there
> is anything wrong with the timezone files or tzconfig. I no longer
> have the original problem report on hand, but I suspect the problem
> was caused by either an incorrectly set CMOS clock or incorrect
> use/non-use of the hwclock -u option in /etc/init.d/hwclock.sh.
>
> FYI, the US/{Eastern,Central,Mountain,Pacific} timezones do use DST
> and the US/{Arizona,East-Indiana,Hawaii} timezones don't. I'm not
> sure about the others, but I'd bet that they are correct also.
>
> David
> --
> David Engel ODS Networks
> david@sw.ods.com 1001 E. Arapaho Road
> (972) 234-6400 Richardson, TX 75081
>
>
> --
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
John Goerzen Linux, Unix consulting & programming jgoerzen@complete.org |
Developer, Debian GNU/Linux (Free powerful OS upgrade) www.debian.org |
----------------------------------------------------------------------------+
Visit the Air Capitol Linux Users Group on the web at http://www.aclug.org
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: