7 # REQUIRE: NETWORKING syslogd
15 start_cmd="ntpdate_start"
19 if [ -z "$ntpdate_hosts" -a -f /etc/ntp.conf ]; then
21 /^server[ \t]*127.127/ {next}
22 /^(server|peer)/ {print $2}
25 if [ -n "$ntpdate_hosts" -o -n "$rc_flags" ]; then
26 echo "Setting date via ntp."
27 ${ntpdate_program:-ntpdate} $rc_flags $ntpdate_hosts