Opps - replace all references to /etc/timezone with /etc/localtime.
> I don't know about the proper method, but here is what worked for
> me.
>
> 1) Create a file /etc/timezone that has the time zone string for your
> time zone. Here in San Francisco is it "PST 8 PDT".
>
> 2) Put a line at the top of /etc/init.d/rcS: export TZ=`cat
> /etc/timezone` (these are back carets, to the left of "1" on the
> keyboard)
>
> 3) Put the same line in /etc/profile
>
> 4) Add the option "-u" to any calls to hwclock.
>
> (1) lets you keep the time zone info in the normal place (2) makes
> the TZ variable available to the processes started in init.d (3)
> makes the TZ variable available to all user shells (4) causes hwclock
> keep the time in UTC.
Regards,
Jim Ham
Mike Dodd wrote:
> Well, I'm stuck again. Booting into TS-Linux on a 7250, 'date' gives the
> date/time in UTC. How do I change it to local time for my time zone?
>
> I know about /usr/share/zoneinfo in regular Linux distros, but I can't find
> anything in TS-Linux that relates to time zones.
>
> Anyone have a procedure to tell TS-Linux to use my time zone?
>
> Thank you.
>
> ---Mike
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.1873 / Virus Database: 2102/4649 - Release Date: 11/30/11
>
>
--
Porcine Associates LLC
244 O'Connor St.
Menlo Park, CA 94025
USA
+1(650)326-2669 fax +1(650)326-1071
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|