Depends if you want POSIX compliance for your timezone variables or not...
Mike
---
Michael S. E. Kraus
Administration
Capital Holdings Group (NSW) Pty Ltd
[EMAIL PROTECTED]
phone (02) 9955 8000 fax (02) 9955 8144
Jonathan Wheelhouse <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07/11/2002 09:58 PM
To: [EMAIL PROTECTED]
cc:
Subject: Re: [SLUG] Daylight saving didn't happen
On Thu, Nov 07, 2002 at 09:17:39AM +1100, Peter Chubb wrote:
[...]
> On debian systems:
> /etc/timezone should contain
> Australia/NSW
> /etc/localtime should be a symlink to
/usr/share/zoneinfo/Australia/NSW
> /usr/share/zoneinfo/localtime should be a symlink to
> /usr/share/zoneinfo/Australia/NSW
My system says
~$ cat /etc/timezone
Australia/Sydney
~$ ll /etc/localtime
lrwxrwxrwx 1 root root 36 2002-10-22 23:58 /etc/localtime
-> /usr/share/zoneinfo/Australia/Sydney
~$ ll /usr/share/zoneinfo/localtime
lrwxrwxrwx 1 root root 14 2002-10-22 23:58
/usr/share/zoneinfo/localtime -> /etc/localtime
This, I think, should work as well.
> Then if TZ is unset, glibc will use whatever /etc/localtime says the
> timezone is.
OK, I'll unset TZ; no point in having it if it's not needed.
Thanks
Jonathan
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug