Tiny Core Extensions > TCE 2.x

tzdata

<< < (3/4) > >>

maro:
For those who would like to create their own POSIX TZ string I want to mention a page which once helped me as I needed to adjust my VOIP gateway: http://leaf.sourceforge.net/doc/buci-tz.html
It also contains a link to the "official" reference (which might be better reading for some).

OTOH one could execute "tail -1 FILENAME" where FILENAME is choosen from the files in /usr/local/share/zoneinfo (obviously after installing the tzdata extension at least once).

Jason W:
Thanks to robc for an update:


--- Code: ---Title:          tzdata.tcz
Description:    Time Zone Data (TESTING)
Version:        2010c/2010e
Author:         Arthur David Olson
Original-site:  http://www.twinsun.com/tz/tz-link.htm
Copying-policy: Public Domain
Size: 656K
Extension_by:   robc
Comments: This package requires bash and gawk.

Includes tzcode2010c and tzdata2010e.

Use the full path at the boot prompt, ie:
TZ=/usr/local/share/zoneinfo/US/Pacific

----------------------------------------------

Please see the man page for additional
information.

Also see http://www.twinsun.com/tz/tz-link.htm
for more information.

----------------------------------------------

This extension is PPI compatible.

Change-log:     2009/07/17 Original
2009/11/12 Updated to tzdata2009r and tzcode2009r
2010/03/10 Updated to tzcode2010c and tzdata2010e
Current: 2010/03/10 Updated to tzcode2010c and tzdata2010e


--- End code ---

Jeff W:
Forgive my question but I'm an inquisitive idiot.  Is there a method to change the timezone while operating and have it persist without rebooting with tz set as a boot parameter?

gerald_clark:
Copy the correct zone file from the the tzdata extension to /etc/localtime.
Add etc/localtime to /opt/.filetool.lst.
Edit .profile, and add 'unset TZ'
Backup
Reboot

Jeff W:
Let me be clear.  LOL  Is there a method to change the timezone while operating and have it take the change immediately without requiring a reboot?  I think I understand what changes are necessary to have it persist past reboot. 

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version