Apps :: System / Date Setup via Internet at Startup



Hello,
in the system menu i found this item "Set Date / Time via Internet".

I would like to add this script to the startup script. Where can I find the command
for starting this time update script ?

Regards,
kk75

From /home/dsl/.fluxbox/menu:
Quote
...
[exec] (Via Internet Time Server) {sudo /usr/local/bin/gettime.lua}
...

Just found this thread; interesting!
When you do sudo /usr/local/bin/gettime.lua you get the time back in UTC format. Is there a way to make a script to change the PC's time as well? Where is the timezone saved?

Try this. ;)
Quote (danielp @ Nov. 05 2007,05:19)
Just found this thread; interesting!
When you do sudo /usr/local/bin/gettime.lua you get the time back in UTC format. Is there a way to make a script to change the PC's time as well? Where is the timezone saved?

The timezones supported in DSL can be found in /usr/share/zoneinfo
To use local time just boot with the tz boot option set to a supported timezone. For example, I use

tz=US/Pacific

Combing this boot option and the gettime.lua you will have accurate local time set.



Next Page...
original here.