[BusyBox] Timezones ?
Erik Andersen
andersen at codepoet.org
Mon Nov 11 02:40:03 UTC 2002
On Mon Nov 11, 2002 at 05:08:38PM +0800, Brad Campbell wrote:
> Brad Campbell wrote:
> >
> > G'day all,
> > I'm using both Busybox and uClibc from CVS.
> >
> > My busybox system has to be able to rdate to sync the clock from
> > a debian box. This is all well and good except my debian box keeps
> > it's rtc in utc and thus by embeded box winds up -8.00 hrs.
> >
> > How can I tell the embeded machine it's +8 ?
>
> Ok, firstly apologies for the FAQ.
> BUT, the problem was not with busybox or uClibc, but my program looking
> for an /etc/localtime file.
> It seems I need both TZ set for the busybox/uclibc tools and also
> /etc/localtime for my other software..
/etc/localtime is a glibc-ism. /etc/TZ is a uClibc-ism.
If you are using both C libraries, and want both to have
the timezone correct, then yes, you will need both.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list