setting the system clock.

Charles Hallenbeck chuckh at mhonline.net
Wed Oct 17 09:06:01 EDT 2001


Hi Steve and Shaun -
I have a similar command in my /etc/ppp/ip-up file instead of in crontab,
so it gets set each time I establish an internet connection.

Chuck

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
>

Visit me at http://www.mhonline.net/~chuckh
The Moon is Waxing Crescent (1% of Full)





More information about the Speakup mailing list