blob: 25101bac9e200a935cc5cb8ea46f4ba772b375ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
# chrony configuration
menuconfig CHRONY
bool "Chrony "
select READLINE
help
FIXME: remove READLINE select when 1.21 works again.
This will install the Chrony NTPD Daemon (chronyd)
Chrony is a pair of programs which are used to maintain
the accuracy of the system clock on a computer. The two
programs are called chronyd and chronyc .
Chronyd is a background (daemon) program, which can be
started at boot time, Chronyc provides a user interface
to chronyd for monitoring its performance and configuring
various settings.
See http://chrony.sunsite.dk/ for details
comment "install options ---"
depends on CHRONY
config CHRONY_INSTALL_CHRONY_COMMAND
depends on CHRONY
bool
default n
prompt "Install chrony command helper"
help
Install a command helper in /usr/bin/chrony_command,
which extracts the command access key from
/etc/chrony/chrony.keys and uses it to run
one given command. Note: The user needs access to
the chrony.keys file.
config CHRONY_INSTALL_CHRONY_STAT
depends on CHRONY
bool
default n
prompt "Install chrony statistics helper"
help
Install a convenience wrapper in /usr/bin/chrony_stat,
which gives a short overview for your configured time sources.
Usage /usr/bin/chrony_stat [ --full | --bool | --skew | --short-skew | --help ]
--full or no argument: show server name and verbose status
--bool show server name and
a) true, if timesource is currently synced
b) false otherwise
--skew show servername and
a) estimated error, if timesource is currently synced
b) false otherwise
--short-skew show estimated error, if timesource is currently synced
suppress all other servers
menuconfig CHRONY_INSTALL_CONFIG
depends on CHRONY
bool
default y
prompt "Install chrony config files"
help
Install /etc/chrony/chrony.conf and /etc/chrony/chony.keys
from a selectable source.
choice
prompt "Kind of chrony config"
depends on CHRONY_INSTALL_CONFIG
default CHRONY_DEFAULTCONFIG
config CHRONY_DEFAULTCONFIG
bool
prompt "Use generic"
help
Install generic chrony config files.
See <ptxdist-install>/generic/etc/chrony/
config CHRONY_USERCONFIG
bool
prompt "User defined"
help
This uses a user defined chrony config.
PTXdist uses files projectroot/chrony/
in your local project
endchoice
config CHRONY_DEFAULT_ACCESS_KEY
depends on CHRONY
string
prompt "setup default access key for chronyc"
default "undefined"
help
This will install a default access key with the
given content to the chrony.keys file. This is
used by /etc/init.d/chrony to access status
data, etc.
config CHRONY_DEFAULT_NTP_SERVER
depends on CHRONY
string
prompt "setup default ntp peer"
default "10.1.1.2"
help
This will set the ntp server for simple
configurations.
menuconfig ROOTFS_ETC_INITD_CHRONY
depends on CHRONY
bool
default y
prompt "Install startup script"
help
The /etc/init.d/chrony script lets you control the chronyd daemon.
choice
prompt "Kind of startup script"
depends on ROOTFS_ETC_INITD_CHRONY
default ROOTFS_ETC_INITD_CHRONY_DEFAULT
config ROOTFS_ETC_INITD_CHRONY_DEFAULT
bool
prompt "Use generic"
help
Install a generic /etc/init.d/chrony file.
See <ptxdist-install>/generic/etc/init.d/chrony
config ROOTFS_ETC_INITD_CHRONY_USER
bool
prompt "User defined"
help
This uses a user defined httpd startup script. PTXdist
uses file projectroot/etc/init.d/chrony in your local
project
endchoice
|