Mark Hannah wrote:
> Hi Folks,
>
> Can anyone help me with a problem that has been driving me crazy for the last
> few weeks?
>
> Since we switched to BST, my linux time has somehow got an hour ahead.
> I can chage the time by doing :-
>
> date --set='-1 hour'
>
> but, on the next re-boot the time reverts back to being an hour fast.
> Can anyone tell me what is going on?
Yes. When your system is initialising somewhere it is running the command
hwclock --hctosys
too set the system clock to the value of the hardware clock.
Set your hardware clock to GMT and ensure you initialise with
hwclock --hctosys -u
If you run SuSE you can do this by changing the value of $GMT in
/etc/rc.config too '-u'
HTH
Lawrence
--
The cost of linux is the cost of learning, a price always worth paying
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------