ntp init script

Jeremy Huntwork jhuntwork at lightcubesolutions.com
Mon Aug 23 13:15:24 PDT 2010


On 8/23/10 3:34 PM, Bruce Dubbs wrote:
> You are quoting out of context.  The fill 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.

Jeremy



More information about the blfs-dev mailing list