Hi, Mark.

On May 16 2009, Mark Purcell wrote:
> +       hwclock --set --date 2009-5-16

I have always done something like that with my system, since openbsd's
nntpd doesn't seem to be able to update the time initially when it is
too far from the current date.

A more flexible solution (while still quick'n'dirty) would be to put the
date of the last shutdown in a given file and, in the hwclock script,
see if it such a file (like, say, the files in /etc/default/) is
readable and update the clock from that, while, otherwise, falling back
to a date like yours.


Regards, Rogério Brito.

-- 
Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to