OpenNTPD daemon with OpenSSL implementation & flexible configurability
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.

54 lines
1.7 KiB

  1. From: Pekka Helenius <fincer89@hotmail.com>
  2. Date: Tue, 04 Aug 2020 01:52:10 +0300
  3. Subject: Set 'Sensors' to lowercase in ntpctl settings
  4. --- a/src/ntpd.c 2020-08-03 23:31:10.898621932 +0300
  5. +++ b/src/ntpd.c 2020-08-03 23:30:51.351955245 +0300
  6. @@ -76,7 +76,7 @@ extern u_int constraint_cnt;
  7. const char *showopt;
  8. static const char *ctl_showopt_list[] = {
  9. - "peers", "Sensors", "status", "all", NULL
  10. + "peers", "sensors", "status", "all", NULL
  11. };
  12. void
  13. @@ -115,7 +115,7 @@ usage(void)
  14. if (strcmp(__progname, "ntpctl") == 0)
  15. fprintf(stderr,
  16. - "usage: ntpctl -s all | peers | Sensors | status\n");
  17. + "usage: ntpctl -s all | peers | sensors | status\n");
  18. else
  19. fprintf(stderr, "usage: %s [-dnv] [-f file] [-p file]\n",
  20. __progname);
  21. --- a/src/ntpctl.8 2020-07-31 23:00:50.329054281 +0300
  22. +++ b/src/ntpctl.8 2020-08-01 00:35:22.158056263 +0300
  23. @@ -22,7 +22,7 @@
  24. .Nd control the Network Time Protocol daemon
  25. .Sh SYNOPSIS
  26. .Nm ntpctl
  27. -.Fl s Cm all | peers | Sensors | status
  28. +.Fl s Cm all | peers | sensors | status
  29. .Sh DESCRIPTION
  30. The
  31. .Nm
  32. @@ -32,7 +32,7 @@ daemon.
  33. .Pp
  34. The options are as follows:
  35. .Bl -tag -width "-s modifierX"
  36. -.It Fl s Cm all | peers | Sensors | status
  37. +.It Fl s Cm all | peers | sensors | status
  38. Used to display information about the running daemon.
  39. Keywords may be abbreviated.
  40. .Pp
  41. @@ -46,7 +46,7 @@ in seconds, and offset, network delay an
  42. When the system clock is synced to a peer, an asterisk
  43. is displayed to the left of the weight column for that peer.
  44. .Pp
  45. -.Cm Sensors
  46. +.Cm sensors
  47. shows the following information about each sensor: weight, sensor "good"
  48. status, stratum, and offset and the configured correction in
  49. milliseconds.