The ntpd daemon implements the Simple Network Time Protocol version 4 as described in RFC 2030 and the Network Time Protocol version 3 as de- scribed in RFC 1305. It can synchronize the local clock to one or more remote NTP servers and act as NTP server itself, redistributing the local time.
6 lines
237 B
Text
6 lines
237 B
Text
@comment $FreeBSD$
|
|
etc/rc.d/openntpd.sh
|
|
sbin/ntpd
|
|
@unexec if cmp -s %D/etc/ntpd.conf %D/%%EXAMPLESDIR%%/ntpd.conf; then rm -f %D/etc/ntpd.conf; fi
|
|
%%EXAMPLESDIR%%/ntpd.conf
|
|
@exec if [ ! -f %D/etc/ntpd.conf ]; then cp -p %D/%F %D/etc; fi
|