[lug] date
Dale Harris
rodmur at maybe.org
Sat Oct 2 12:59:43 MDT 1999
On Sat, Oct 02, 1999 at 12:30:34PM +0000, chrism at pop.peakpeak.com elucidated:
> > oh man, maybe I need to get out more...
> > or perhaps its too early this morning....
> > > is there a way to set the CMOS time from linux?
> >
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
> /sbin/clock -w writes the current time to BIOS I believe.
>
> Of course, you *are* running xntpd right?
>
> Chris
>
xntpd would to the trick. On some linux systems you might have hwclock
(hwclock 2.4/util-linux 2.9i). In which case you'd do:
hwclock --systohc --utc
and then you'd only use --utc if your CMOS clock was in UTC, which it
probably should be.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dale Harris <rodmur at maybe.org> GPG key: 372FBD57 http://www.maybe.org/
M.A.Y.B.E. = Maybe is an Altruistic Yet Bohemian Enigma
More information about the LUG
mailing list