HWCLOCK

2 replies [Last post]
murphy19804
Offline
Joined: 06/01/2012

I'm running Trisquel 5.5 and I need to set my hwclock to utc. I'm used to other Linux operating systems where I can set the correct time and edit /etc/sysconfig/clock to change to HWCLOCK directive to "-u", and then run . I cannot find clock file in Trisquel 5.5. How can I change the hwclock to utc?
Thanks for your help.
Mike

leny2010

I am a member!

I am a translator!

Offline
Joined: 09/15/2011

I've had a dig and on my system there is a variable

UTC=yes

set in /etc/default/rcS with the comment 'assume that the BIOS clock is set to UTC'

You could try that,

murphy19804
Offline
Joined: 06/01/2012

Thank you. That looks like it'll work.