DSL Embedded :: time is wrong, despite time zone set via tzconfig



I finally discovered that my system was using EDT (Eastern Daylight Time) rather than my current time zone (PDT).

I used "tzconfig" to fix it and added etc/localtime to my .filetool.lst file.  Now, whenever it boots, the time is incorrect -- it's 3 hours too early.

Is there an easy way to repair/fix this?

Don't need to run that or save that file. Instead use boot code:

tz=US/Pacific

If you have net access use the command

$ sudo gettime.lua

to set time from time server.

If you normally boot with net access then add gettime.lua to /opt/bootlocal.sh like this

/usr/local/bin/getttime.lua

Then upon boot I have accurate time set.

[quote=roberts,June 21 2007,15:19][/quote]
The boot code didn't work, but the gettime.lua trick does.

Thanks.

All of my frugal installed machines use such boot code in the grub menu. The boot code existed before the gettime.lua code.
Ah, I don't use grub.  Perhaps that's the problem.  I just use QEMU to boot directly into DSL.
Next Page...
original here.