login
Header Space

 
 

Re: How to set timezone?

Previous thread: Elm's permissions by Muhep Guest account on Wednesday, August 26, 1992 - 6:41 pm. (1 message)

Next thread: .97 kernel and root disk/probs with swapping by gary a moyer on Wednesday, August 26, 1992 - 6:58 pm. (1 message)
Date: Wednesday, August 26, 1992 - 6:48 pm

Its even easier than that.  When you install the timesrc stuff, you get a  
bunch of timezone files in /usr/lib/zoneinfo (or maybe you have to move  
them there by hand, I forget).  Then all you have to do is make a link  
from the zone you're in to localtime, such as
        cd /usr/lib/zoneinfo
        ln -s Canada/Eastern localtime
and everything is hunky-dory.

This way, you don't need to set the TZ environment variable at all.

You may have to rip out the code that sets the TZ variable from login.c,  

Steve Robbins
steve@nyongwa.cam.org, despite what the header says
Previous thread: Elm's permissions by Muhep Guest account on Wednesday, August 26, 1992 - 6:41 pm. (1 message)

Next thread: .97 kernel and root disk/probs with swapping by gary a moyer on Wednesday, August 26, 1992 - 6:58 pm. (1 message)
speck-geostationary