Update the NTP server section to mainly match 5.X and not 4.X

PR:		docs/75489
Submitted by:	Joel Dahl <joel@automatvapen.se>
This commit is contained in:
Marc Fonvieille 2004-12-25 11:13:59 +00:00
parent a736f2c59c
commit 2d1fb52dc6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23342

View file

@ -5029,24 +5029,23 @@ driftfile /var/db/ntp.drift</programlisting>
<title>Running the NTP Server</title>
<para>To ensure the NTP server is started at boot time, add the
line <literal>xntpd_enable="YES"</literal> to
line <literal>ntpd_enable="YES"</literal> to
<filename>/etc/rc.conf</filename>. If you wish to pass
additional flags to &man.ntpd.8;, edit the
<varname>xntpd_flags</varname> parameter in
<varname>ntpd_flags</varname> parameter in
<filename>/etc/rc.conf</filename>.</para>
<para>To start the server without rebooting your machine, run
<command>ntpd</command> being sure to specify any additional
parameters from <varname>xntpd_flags</varname> in
parameters from <varname>ntpd_flags</varname> in
<filename>/etc/rc.conf</filename>. For example:</para>
<screen>&prompt.root; <userinput>ntpd -p /var/run/ntpd.pid</userinput></screen>
<note>
<para>Under &os;&nbsp;5.X, various options in
<filename>/etc/rc.conf</filename> have been renamed. Thus,
you have to replace every instance of <literal>xntpd</literal>
with <literal>ntpd</literal> in the options above.</para></note>
<para>Under &os;&nbsp;4.X,
you have to replace every instance of <literal>ntpd</literal>
with <literal>xntpd</literal> in the options above.</para></note>
</sect2>
<sect2>