freebsd-nq/contrib/ntp/scripts/ntp-close
2001-08-29 14:35:15 +00:00

9 lines
221 B
Bash
Executable File

#! /bin/sh
lynx -source http://www.eecis.udel.edu/~mills/ntp/clock2.htm |
sed -n -e 's,).*,,' -e' /([0-9.]*$/s/.*(//p' |
xargs ntpdate -q |
sort -n +7 > /tmp/ntp-close
# From: Neal McBurnett <neal@bcn.boulder.co.us>