Check out the "ntp-wait" script, in the scripts/ subdir of the distribution for some ideas. Also, there is a --enable-sync-todr (or something) option that may make this even easier for you. H