Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Allowing end user to change timezone< Next Oldest | Next Newest >
pjkerpan Offline





Group: Members
Posts: 1
Joined: May 2006
Posted: May 23 2006,13:33 QUOTE

I apologize for being thickheaded in advance - but I have read every forum post and wiki entry on timezones and i still cannot tell if:

a) the timezone can be switched on the fly without a reboot
b) the timezone can be switched while the OS is up and running (say via a friendly webpage for the end user) and then persisted via a reboot

I have a frugal hd install running with the "toram" option using LILO.  

The only options I have perceived are:
- tzconfig (apparently no longer in the distro)
- dsl tz=Foo/Bar by hand every boot (hard for endusers)
- put tz=Foo/Bar in lilo.conf (no joy)
- use date command, then hwclock (doesn't persist between boots)

The only success I have had is doing it by hand every boot - is there a config file somewhere where I can persist this setting between boots?

Thanks -
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 23 2006,15:47 QUOTE

The only thing that boot code is doing is:

1. setting the TZ environment variable to your selected timezone
2. cp /usr/share/zoneinfo/$TZ /etc/localtime

Try adding these commands to /opt/bootlocal.sh
Back to top
Profile PM WEB 
1 replies since May 23 2006,13:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Allowing end user to change timezone

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code