[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: updating the hwclock and kernel clock?



On Wed 03 Nov 1999, Ron Farrer wrote:
> 
> I can use rdate to sync the kernel time to the correct, but how do I update the hardware time to the same? I've looked into ntd but it's not what I'm looking for. Basically I've already used rdate to get the correct time and now I want to update the hwclock. 

Basically it's "hwclock --systohc". Add --utc if you run the hardware
time on UTC (as you should :-).

Note that debian does this automatically when you shutdown...


PS: please try to limit your line length to 70 or so, that makes it
easier to read and easier to cut down on the quoted text.

Paul Slootman
-- 
home:       paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work:       paul@murphy.nl       http://www.murphy.nl/
debian:     paul@debian.org      http://www.debian.org/
isdn4linux: paul@isdn4linux.de   http://www.isdn4linux.de/


Reply to: