-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 AdStar wrote:
| Stupid me.. | | I'm running Bering-uClibc | Linux firewall 2.4.31 #1 Thu Aug 18 21:03:20 CEST 2005 i686 unknown | | | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] On Behalf Of AdStar | Sent: Thursday, 29 December 2005 10:04 | To: leaf-user@lists.sourceforge.net | Subject: [leaf-user] Setting the correct timezone in TZ | | Howdy all, | | I've tried to set my timezone via /etc/TZ file but it doesn't seem to work. | I can put this setting in EET-10EDT and the date command ALMOST outputs the | correct time (it's out an hour), so I tried EET-10EDT-11 but the output of | date switches to UTC time. | | I dug around the web and came up with my complete line | EET-10EEDT-11,M10.5.0/02:00:00,M3.5.0/02:00:00 I assume you're familiar with: http://leaf.sourceforge.net/doc/guide/buci-tz.html | But when put in the TZ file (ensuring no line breaks at the end of the TZ | file etc), the output again is UTC. Um...you need to make sure there's a newline at the end of the single line in the /etc/TZ file. | My CMOS clock is set to UTC time. As it should be! | I'm based in Victoria, Australia. | | Can anyone shed some light on my issues (how can I debug the TZ to make sure | it's working, or know where to look to fix it). I don't have much to help with debugging what to put in /etc/TZ, but you can use the date command to check the settings. See an old post of mine regarding timezones, hardware clock settings, and ntp: http://c0wz.steinkuehler.net/dox/ntp.txt ...scroll down to the "stupid tricks with date" section, to find a few handy switches to pass to the date command that might be helpful... - -- Charles Steinkuehler [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDsx7xLywbqEHdNFwRAlW3AKDUfhC5coVkgU/tVS15iboxhywqUQCgrMlD i/wZtkfUkqvee5TxdddbEVI= =r3yV -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/