[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how does ntpdate work ?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/18/06 14:36, harm wrote:
> i think i should read those /usr/share/doc files more often :p
> 
> however, ntpdate is only started once (on bootup) and it never needs to
> resync afterwords ? since its not in ps aux...

Of course it's not listed in "ps aux" because it's not a continuous
 runner like ntp.

I put this in my root crontab:

#!/bin/sh
3 */3 * * * /etc/init.d/ntpdate start && /sbin/hwclock --systohc

Hey, that's odd.  The file is gone, but the cron job still runs.

That's spooky.

> On 10/18/06, Andrew Perrin <clists@perrin.socsci.unc.edu> wrote:
>>
>> According to /usr/share/doc/ntpdate/changlog.Debian.gz:
>>
>>    * npdate is no longer started from an init script but instead by ifup
>>      (closes: #56499, #245338, #312576)
>>    * Run ntpdate from ifup in the background (closes: #321759, #375280,
>>      #382543)
>>
>>
>>
>> The script is now in /etc/network/if-up.d .
>>
>> Cheers,
>> Andy
>>
>>
>> On Wed, 18 Oct 2006, harm wrote:
>>
>> > in good old sarge there was a script in /etc/init.d/ that would check
>> the
>> > clock with the ntp server(s) in /etc/default/ntpdate. But how does it
>> works
>> > in Etch, since the init.d script is gone ? Of course i can execute
>> ntpdate
>> > ntp.xs4all.nl but if i want it to sync every 24hrs should i put it in
>> cron
>> > or is there a "hidden" script somewhere to take care of it ?


- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFNp/JS9HxQb37XmcRAmToAKCPuue3iLBJxT4QdNNiPNxKkz42MQCfSynO
sk6/ySTuv3s6hHrD5ZqlFf0=
=6pof
-----END PGP SIGNATURE-----



Reply to: