OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: timezone changes

From: Andreas Kahari (andreas.kaharigmail.com)
Date: Thu Jan 17 2008 - 06:14:59 CST


The afterboot(8) manual says to use "ln -fs", e.g.

ln -fs /usr/share/zoneinfo/Canada/Atlantic /etc/localtime

That way, the /etc/localtime will never not be there (it will not be
there for a short time between 'rm' and 'ln -s' if you do it that
way).

This is easily set up in a script that you may run using sudo...

Regards,
Andreas

On 17/01/2008, frantisek holop <minusfobiit.org> wrote:
> hi there,
>
> what is the "standard" way of changing the timezone
> esp. if someone is in another one every week :)
>
> is it just a simple rm /etc/localtime && ln -s ?
>
> -f
> --
> the world: a comedy for thinkers; a tragedy for feelers.
>
>

--
Andreas Kahari
Somewhere in the general Cambridge area, UK