2013-08-16 10:30:20 +02:00
|
|
|
$NetBSD: patch-ae,v 1.5 2013/08/16 08:30:20 hannken Exp $
|
2002-03-23 00:01:52 +01:00
|
|
|
|
2013-08-16 10:30:20 +02:00
|
|
|
Prepare for SUBST, not processed by configure.
|
|
|
|
|
|
|
|
--- examples/chrony.conf.example.orig 2013-08-08 13:58:07.000000000 +0000
|
|
|
|
+++ examples/chrony.conf.example
|
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#######################################################################
|
2002-03-23 00:01:52 +01:00
|
|
|
#
|
|
|
|
# This is an example chrony configuration file. You should copy it to
|
|
|
|
-# /etc/chrony.conf after uncommenting and editing the options that you
|
2006-01-08 14:27:53 +01:00
|
|
|
+# @PKG_SYSCONFDIR@/chrony.conf after uncommenting and editing the options that you
|
2010-02-26 10:27:43 +01:00
|
|
|
# want to enable. The more obscure options are not included. Refer
|
2002-03-23 00:01:52 +01:00
|
|
|
# to the documentation for these.
|
2013-08-16 10:30:20 +02:00
|
|
|
#
|
|
|
|
@@ -89,7 +89,7 @@
|
|
|
|
# immediately so that it doesn't gain or lose any more time. You
|
2002-03-23 00:01:52 +01:00
|
|
|
# generally want this, so it is uncommented.
|
|
|
|
|
2013-08-16 10:30:20 +02:00
|
|
|
-driftfile /var/lib/chrony/drift
|
|
|
|
+driftfile @VARBASE@/lib/chrony/chrony.drift
|
2002-03-23 00:01:52 +01:00
|
|
|
|
|
|
|
# If you want to use the program called chronyc to configure aspects of
|
2013-08-16 10:30:20 +02:00
|
|
|
# chronyd's operation once it is running (e.g. tell it the Internet link
|
|
|
|
@@ -98,7 +98,7 @@ driftfile /var/lib/chrony/drift
|
|
|
|
# exchanges between cooperating machines.) Again, this option is
|
2002-03-23 00:01:52 +01:00
|
|
|
# assumed by default.
|
|
|
|
|
|
|
|
-keyfile /etc/chrony.keys
|
2006-01-08 14:27:53 +01:00
|
|
|
+keyfile @PKG_SYSCONFDIR@/chrony.keys
|
2002-03-23 00:01:52 +01:00
|
|
|
|
|
|
|
# Tell chronyd which numbered key in the file is used as the password
|
2013-08-16 10:30:20 +02:00
|
|
|
# for chronyc. (You can pick any integer up to 2**32-1. '1' is just a
|
|
|
|
@@ -129,7 +129,7 @@ commandkey 1
|
|
|
|
# still running and bail out. If you want to change the path to the PID
|
2010-02-26 10:27:43 +01:00
|
|
|
# file, uncomment this line and edit it. The default path is shown.
|
|
|
|
|
|
|
|
-! pidfile /var/run/chronyd.pid
|
|
|
|
+! pidfile @VARBASE@/run/chronyd.pid
|
|
|
|
|
|
|
|
#######################################################################
|
2013-08-16 10:30:20 +02:00
|
|
|
### INITIAL CLOCK CORRECTION
|