Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.8 KiB

9 years ago
9 years ago
9 years ago
  1. From 48d02d4b495a95851b1f709ea38d51c61f1be4e1 Mon Sep 17 00:00:00 2001
  2. From: Brent Cook <busterb@gmail.com>
  3. Date: Tue, 30 Dec 2014 09:20:03 -0600
  4. Subject: [PATCH 06/12] update ntpd.conf to indicate OS-dependent options
  5. Also, clarify listening behavior based on a patch from
  6. Dererk <dererk@debian.org>
  7. Debian bug ID: 575705
  8. ---
  9. src/usr.sbin/ntpd/ntpd.conf.5 | 11 ++++++++---
  10. 1 file changed, 8 insertions(+), 3 deletions(-)
  11. diff --git a/src/usr.sbin/ntpd/ntpd.conf.5 b/src/usr.sbin/ntpd/ntpd.conf.5
  12. index 65b51b0..5dd584d 100644
  13. --- a/src/usr.sbin/ntpd/ntpd.conf.5
  14. +++ b/src/usr.sbin/ntpd/ntpd.conf.5
  15. @@ -38,9 +38,14 @@ The basic configuration options are as follows:
  16. .It Xo Ic listen on Ar address
  17. .Op Ic rtable Ar table-id
  18. .Xc
  19. +.Xr ntpd 8
  20. +has the ability to sync the local clock to remote NTP servers and, if
  21. +this directive is specified, can act as NTP server itself, redistributing the
  22. +local clock.
  23. +.Pp
  24. Specify a local IP address or a hostname the
  25. .Xr ntpd 8
  26. -daemon should listen on.
  27. +daemon should listen on to enable remote clients synchronization.
  28. If it appears multiple times,
  29. .Xr ntpd 8
  30. will listen on each given address.
  31. @@ -53,7 +58,7 @@ will listen on all local addresses using the specified routing table.
  32. does not listen on any address by default.
  33. The optional
  34. .Ic rtable
  35. -keyword will specify which routing table to listen on.
  36. +keyword will specify which routing table to listen on, if the operating system supports rdomains.
  37. By default
  38. .Xr ntpd 8
  39. will listen using the current routing table.
  40. @@ -76,7 +81,7 @@ listen on 127.0.0.1 rtable 4
  41. .Xc
  42. Specify a timedelta sensor device
  43. .Xr ntpd 8
  44. -should use.
  45. +should use, if the operating system supports sensors.
  46. The sensor can be specified multiple times:
  47. .Xr ntpd 8
  48. will use each given sensor that actually exists.
  49. --
  50. 2.4.5