Linux clock-setting script

Dmitri I GOULIAEV dmitri.gouliaev at telkel.net
Mon Jul 8 02:52:26 EDT 2002


Hi, Paul Rubin !

 On Sun, Jul 07, 2002 at 11:30:07PM -0700, Paul Rubin wrote:

> "David LeBlanc" <whisper at oz.net> writes:
> > No, the ftp site I pointed to has a simple client in C - admittedly with
> > some "windowisms" for setting the cmos clock on a PC mobo (which might
> > translate pretty directly over to linux). It's spread over several files and
> > looks to be about 20kb total of c source.
> 
> Yeah, that's what I mean.  I'd rather have 10 lines of Python than
> 20kb of C.

Or you can have just one line of shell command, like

  # ntpdate host

which is (most probably) already in your distribution. 
Do you have it in your distribution ? (just curious)

Best regards,

-- 
DIG (Dmitri I GOULIAEV)





More information about the Python-list mailing list