summaryrefslogtreecommitdiffstats
path: root/rules/chrony.in
diff options
context:
space:
mode:
authorBjoern Buerger <b.buerger@pengutronix.de>2007-04-10 12:25:34 +0000
committerBjoern Buerger <b.buerger@pengutronix.de>2007-04-10 12:25:34 +0000
commit2a324f882894e5c6b880cf27df30d314ccd47bf1 (patch)
tree3c0d822525f8af36fd89c2194311a634ba5b90cd /rules/chrony.in
parent70d2d88052adfec80711781af502bcece8128f0c (diff)
downloadptxdist-2a324f882894e5c6b880cf27df30d314ccd47bf1.tar.gz
ptxdist-2a324f882894e5c6b880cf27df30d314ccd47bf1.tar.xz
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7087 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/chrony.in')
-rw-r--r--rules/chrony.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/rules/chrony.in b/rules/chrony.in
index 09e28998d..25101bac9 100644
--- a/rules/chrony.in
+++ b/rules/chrony.in
@@ -33,6 +33,30 @@ config CHRONY_INSTALL_CHRONY_COMMAND
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