2000-07-18 Harlan Stenn <stenn@whimsy.udel.edu>
+ * configure.in: 4.0.99j5
+
+ * html/ntpd.htm (HREF): Document other missing command-line options
+
+ * html/ntpd.htm (HREF): Document
+ * html/confopt.htm (href): Undocument
+ * ntpd/ntp_config.c (getconfig): -N high for high-priority.
+ Lose the ntp.conf way of setting priority.
+
* ntpd/ntp_crypto.c: PUBKEY/AUTOKEY cleanup
From Dave Mills
PACKAGE=ntp
-VERSION=4.0.99j4
+VERSION=4.0.99j5
if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
AC_DEFINE_UNQUOTED(STR_SYSTEM, "$target")
AM_CONFIG_HEADER(config.h)
AC_ARG_PROGRAM
-AM_INIT_AUTOMAKE(ntp, 4.0.99j4)
+AM_INIT_AUTOMAKE(ntp, 4.0.99j5)
AC_PREREQ(2.14)
ac_cv_var_oncore_ok=no
command, but uses IP multicasting. Support for this command requires
multicast kernel support.</dd>
-<dt><tt>priority <i>mode</i></tt>
-<dd>This directive controls the CPU priority of the local server. At
-present, choices for <i>mode</i> are either <tt>high</tt> or
-<tt>normal</tt> (the default).
-</dd>
-
</dl>
<h4>Bugs</h4>
<H4>Synopsis</H4>
<TT>ntpd [ -aAbdm ] [ -c <I>conffile</I> ] [ -f <I>driftfile</I> ] [ -g
-] [ -k <I>keyfile</I> ] [ -l <I>logfile</I> ] [ -p <I>pidfile</I> ] [ -r
-<I>broadcastdelay</I> ] [ -s <I>statsdir</I> ] [ -t <I>key</I> ] [ -v
-<I>variable</I> ] [ -V <I>variable</I> ] [ -x ]</TT>
+] [ -k <I>keyfile</I> ] [ -l <I>logfile</I> ] [ -N high ] [ -p
+<I>pidfile</I> ] [ -r <I>broadcastdelay</I> ] [ -s <I>statsdir</I> ] [
+-t <I>key</I> ] [ -v <I>variable</I> ] [ -V <I>variable</I> ] [ -x
+]</TT>
<H4>Description</H4>
<DD>Synchronize using NTP broadcast messages.</DD>
<DT><TT>-c <I>conffile</I></TT></DT>
-<DD>Specify the name and path of the configuration file.</DD>
+<DD>Specify the name and path of the configuration file.
+(Disable netinfo?)</DD>
<DT><TT>-d</TT></DT>
<DD>Specify debugging mode. This flag may occur multiple times, with
<DD>Specify the name and path of the log file. The default is the system
log facility.</DD>
+<DT><TT>-L</TT></DT>
+<DD>Listen to virtual IPs.</DD>
+
<DT><TT>-m</TT></DT>
<DD>Synchronize using NTP multicast messages on the IP multicast group
address 224.0.1.1 (requires multicast kernel).</DD>
+<DT><TT>-n</TT></DT>
+<DD>Don't fork.</DD>
+
+<DT><TT>-N high</TT></DT>
+<DD>To the extent permitted by the operating system, run the daemon at a
+high priority.</DD>
+
<DT><TT>-p <I>pidfile</I></TT></DT>
<DD>Specify the name and path to record the daemon's process ID.</DD>
#ifdef PUBKEY
#define CONFIG_CRYPTO 34
#endif /* PUBKEY */
-#define CONFIG_PRIORITY 35
/*
* "peer", "server", "broadcast" modifier keywords
{ "phone", CONFIG_PHONE },
{ "pidfile", CONFIG_PIDFILE },
{ "pps", CONFIG_PPS },
- { "priority", CONFIG_PRIORITY },
{ "requestkey", CONFIG_REQUESTKEY },
{ "restrict", CONFIG_RESTRICT },
{ "revoke", CONFIG_REVOKE },
int config_priority;
#endif
-static const char *ntp_options = "aAbc:dD:f:gk:l:Lmnp:P:r:s:t:v:V:x";
+static const char *ntp_options = "aAbc:dD:f:gk:l:LmnN:p:P:r:s:t:v:V:x";
#ifdef HAVE_NETINFO
/*
case 'n': /* already done at pre-scan */
break;
+ case 'N':
+ priority_done = strcmp(ntp_optarg, "high");
+ break;
+
case 'p':
stats_config(STATS_PID_FILE, ntp_optarg);
break;
stats_config(STATS_PID_FILE, (char *)0);
break;
- case CONFIG_PRIORITY:
- if (ntokens >= 1)
- priority_done = strcmp(tokens[1], "high");
- else
- priority_done = 1;
- break;
-
case CONFIG_LOGFILE:
if (ntokens >= 2) {
FILE *new_file;