summaryrefslogtreecommitdiffstats
path: root/rules/chrony.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-06-19 10:47:37 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-06-19 11:58:03 +0200
commit808a7ea2eb535a21ab5170d5334da8dff9b3ad81 (patch)
tree638b446ff210eb81f88808634e217628ae19070a /rules/chrony.in
parent26dd4d28c9d65ffcaced8af0c8979a7c451c6413 (diff)
downloadptxdist-808a7ea2eb535a21ab5170d5334da8dff9b3ad81.tar.gz
ptxdist-808a7ea2eb535a21ab5170d5334da8dff9b3ad81.tar.xz
chrony: migrate to install_alternative
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/chrony.in')
-rw-r--r--rules/chrony.in32
1 files changed, 7 insertions, 25 deletions
diff --git a/rules/chrony.in b/rules/chrony.in
index 5a79f9339..ccdcb71d0 100644
--- a/rules/chrony.in
+++ b/rules/chrony.in
@@ -55,34 +55,14 @@ config CHRONY_INSTALL_CHRONY_STAT
--short-skew show estimated error, if timesource is currently synced
suppress all other servers
-menuconfig CHRONY_INSTALL_CONFIG
+config CHRONY_INSTALL_CONFIG
bool
default y
- prompt "Install chrony config files "
+ 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
+ Install /etc/chrony/chrony.conf and /etc/chrony/chony.keys.
+
+if CHRONY_INSTALL_CONFIG
config CHRONY_DEFAULT_ACCESS_KEY
string
@@ -102,6 +82,8 @@ config CHRONY_DEFAULT_NTP_SERVER
This will set the ntp server for simple
configurations.
+endif
+
config CHRONY_STARTSCRIPT
bool
default y