On Friday, 2 March 2007 23:28, Bo Ørsted Andresen wrote:
> On Friday 02 March 2007 13:35:22 Hans-Werner Hilse wrote:
> > Hm, set your hardware clock to UTC and do as root:
> >
> > rm /etc/localtime
> > ln -s /usr/share/zoneinfo/Canada/Newfoundland /etc/localtime
> >
> > should work...
>
> That's not how it's done anymore. Instead you set:
>
> TIMEZONE="Canada/Newfoundland"
>
> in /etc/conf.d/clock and:
>
> # rm /etc/localtime
> # cp /usr/share/zoneinfo/Canada/Newfoundland /etc/localtime
>
> This has the advantage that it'll work even when /usr isn't mounted.

TIMEZONE is used by the timezone-data ebuild, so emerge it and it'll 
automatically update /etc/localtime, no need to do it manually.

-- 
Raymond Lewis Rebbeck
--
gentoo-user@gentoo.org mailing list

Reply via email to