From owner-freebsd-questions@FreeBSD.ORG Wed Oct 26 00:43:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2778916A41F for ; Wed, 26 Oct 2005 00:43:32 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65DD343D48 for ; Wed, 26 Oct 2005 00:43:31 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from alpha.home (ppp227-49.lns2.adl4.internode.on.net [203.122.227.49]) by smtp3.adl2.internode.on.net (8.12.9/8.12.6) with ESMTP id j9Q0hPpa059876; Wed, 26 Oct 2005 10:13:26 +0930 (CST) (envelope-from malcolm.kay@internode.on.net) From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Wed, 26 Oct 2005 10:14:35 +0930 User-Agent: KMail/1.8 References: <20051025233037.5150.qmail@web36315.mail.mud.yahoo.com> In-Reply-To: <20051025233037.5150.qmail@web36315.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510261014.36079.malcolm.kay@internode.on.net> Cc: Prakash GP Subject: Re: switch to/from Daylight savings doesn't happen X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 00:43:32 -0000 On Wed, 26 Oct 2005 09:00 am, Prakash GP wrote: > Hi, > > FreeBSD 4.5 doesn't seem to auto-switch to/from DST at the > right time. > > ----------%<----------%<----------%<----------%<----------%<-- >-------- > > # setenv TZ :/usr/share/zoneinfo/America/Los_Angeles > It would seem that the use of the TZ environment variable is somewhat deprecated. I suggest you get rid of it, and then use 'tzsetup' to set your time zone. This is menu driven -- doesn't require command line arguments. Apart from the choice of UTC or wall time for your CMOS clock, I believe the equivalent result can be achieved by copying /usr/share/zoneinfo/America/Los_Angeles to /etc/localtime. Malcolm Kay