ntp init script

Bruce Dubbs bruce.dubbs at gmail.com
Mon Aug 23 13:54:37 PDT 2010


Jeremy Huntwork wrote:
> On 8/23/10 3:34 PM, Bruce Dubbs wrote:
>> You are quoting out of context.  The full startup is:
>>
>> boot_mesg "Starting ntpd..."
>> ntpd -gqx
>> loadproc /usr/sbin/ntpd
> 
> Ah, my mistake. I didn't actually see the loadproc line underneath. In 
> theory, yes, ntpd -q should be run once first, to update the current 
> time, but I don't think that should necessarily be done in the boot 
> script. One manual initial run on install should suffice.
> 
> If we do include an initial ntpd -q in the bootscript, we should at 
> least check for connectivity to the time server first.

Since we use *pool.ntp.org, how would you propose doing that?
I agree that it would be nice, but I don't know how.

   -- Bruce



More information about the blfs-dev mailing list