ntp init script

Jeremy Huntwork jhuntwork at lightcubesolutions.com
Mon Aug 23 14:35:13 PDT 2010


On 8/23/10 4:54 PM, Bruce Dubbs wrote:
> 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.

I don't know either, at least, I haven't given much thought to it. My 
solution for myself was just to assume a correct date has been set at 
install and kill the -q in the init script entirely.

This works:

if ping -c1 0.pool.ntp.org >/dev/null 2>&1 ; then echo yay ; fi

Jeremy




More information about the blfs-dev mailing list