Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 18:04:56 -0800 (PST)
From:      Nicole Harrington <drumslayer2@yahoo.com>
To:        Atom Powers <atom.powers@gmail.com>, John Nielsen <lists@jnielsen.net>
Cc:        Robert Fitzpatrick <lists@webtent.net>, freebsd-questions@freebsd.org
Subject:   Re: Determining daylight savings changes on BSD
Message-ID:  <185909.4526.qm@web34513.mail.mud.yahoo.com>
In-Reply-To: <df9ac37c0702091557y5b02f1ebq51c4b9fc6c964b4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Atom Powers <atom.powers@gmail.com> wrote:
> On 2/2/07, John Nielsen <lists@jnielsen.net> wrote:
> > On Friday 02 February 2007 17:35, Dan Nelson
> wrote:
> > > Upgrading to 5.5 or 6.2 will get you the new
> tables as a side-effect of
> > > the upgrade :)  If you don't want to upgrade,
> just install the
> > > misc/zoneinfo port and rerun tzsetup.
> >
> > The last bit (rerunning tzsetup(8)) is good advice
> for anyone who hasn't run
> > it in a while. Upgrading from earlier versions of
> FreeBSD will install the
> > new tzdata files but it will not touch
> /etc/localtime.
> >
> 
> That's great. Um, how can I run tzsetup
> non-interactively? It's going
> to be a pain updating all my systems if I have to
> walk through the
> menu on every one; and the man page didn't help at
> all.
> 

 It's not what I would call, non interactive, or even
elegant, but below  is what I have done on some
systems. On others, I just installed a copy of the
newly created /etc/localtime file.

 Maybe it will be useful to you.
----

cd /usr/src/share/zoneinfo
fetch ftp://elsie.nci.nih.gov/pub/tzdata2007a.tar.gz
tar -zxvf tzdata2007a.tar.gz
make
make install

cp -f /usr/share/zoneinfo/America/Los_Angeles
/etc/localtime
chmod 444 /etc/localtime

--------

 Nicole

--
The significant problems we face cannot be solved by
the same level of thinking that created them
  -Albert Einstein




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