[BusyBox] Timezones ?
Erik Andersen
andersen at codepoet.org
Mon Nov 11 02:13:05 UTC 2002
On Mon Nov 11, 2002 at 03:00:34PM +0800, 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 ?
If you are using the latest version of uClibc, then you can
create an /etc/TZ file with a single line, ending with a newline
that contains the setting for the TZ environment variable, as
specified by
http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap08.html
i.e. I live in the US Mountain time zone, so
echo MST7MDT > /etc/TZ
would set the timezone correctly for my uClibc systems.
I suppose we need to update the FAQ... :)
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list