setting the system clock.
Shaun Oliver
shauno at goanna.net.au
Wed Oct 17 09:03:03 EDT 2001
Steve, someone also mentioned to me /usr/sbin/ntpdate clock.via.net or
something like that.
--
Shaun
I never made a mistake in my life.
I thought I did once, but I was wrong.
-- Lucy Van Pelt
email: shauno at goanna.net.au
icq: 76958435
On Wed, 17 Oct 2001, Steve Holmes wrote:
> I have a neet little shellscript I put together using the net date
> utility. Let me include it here.
> ----- beginning of file -----
> #!/bin/sh
> /usr/sbin/netdate clock.psu.edu
> if [ "$?" = "0" ]; then
> clock -w
> echo CMOS clock has been set.
> fi
>
> ----- end of file -----
> The clock -w command is the deal that permenantly updates your hardware
> clock. There might be a way to manually set it all with the date command
> but not sure. Look at the man pages for the above commands. I run this
> shell script every day in a crontab and my clock is solid now.
>
> On Thu, 18 Oct 2001, Shaun Oliver wrote:
>
> > Hi guys how tdo I go about setting the system clock under linux?
> > I've got to do this as a result of my hareware clock going a little
> > um. well slow.
> > thanks in advance.
> >
> >
> >
>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
More information about the Speakup
mailing list