logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0001-Set-CTLSOCKET-to-run-ntpd.sock.patch (689B)


  1. From 2760ceff5d4817963fb7882bfaf8852c8dc4460c Mon Sep 17 00:00:00 2001
  2. From: Michael Forney <mforney@mforney.org>
  3. Date: Fri, 11 Aug 2017 23:08:10 -0700
  4. Subject: [PATCH] Set CTLSOCKET to /run/ntpd.sock
  5. ---
  6. src/ntpd.h | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/src/ntpd.h b/src/ntpd.h
  9. index ced81b9ff..7364c5aa8 100644
  10. --- a/src/ntpd.h
  11. +++ b/src/ntpd.h
  12. @@ -49,7 +49,7 @@
  13. #define LOCALSTATEDIR "/var"
  14. #endif
  15. #define DRIFTFILE LOCALSTATEDIR "/db/ntpd.drift"
  16. -#define CTLSOCKET LOCALSTATEDIR "/run/ntpd.sock"
  17. +#define CTLSOCKET "/run/ntpd.sock"
  18. #define INTERVAL_QUERY_NORMAL 30 /* sync to peers every n secs */
  19. #define INTERVAL_QUERY_PATHETIC 60
  20. --
  21. 2.29.2