summaryrefslogtreecommitdiff
path: root/chronyd.init
diff options
context:
space:
mode:
authorElan Ruusamäe2010-02-07 19:06:08 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit1c33df655e2aa1ee411e25cca08b5b58312df4e5 (patch)
treeb8d2ae24de9c18f174b167733b3f33be0ec424cd /chronyd.init
parent5e2ed4993ff4d5c37865fb3f017ce15c894afe44 (diff)
downloadchrony-1c33df655e2aa1ee411e25cca08b5b58312df4e5.zip
chrony-1c33df655e2aa1ee411e25cca08b5b58312df4e5.tar.gz
- report sources in statusauto/th/chrony-1_24-1
Changed files: chronyd.init -> 1.8
Diffstat (limited to 'chronyd.init')
-rw-r--r--chronyd.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/chronyd.init b/chronyd.init
index 1db8103..d259623 100644
--- a/chronyd.init
+++ b/chronyd.init
@@ -147,6 +147,9 @@ case "$1" in
status)
status chronyd
RETVAL=$?
+ if [ $RETVAL = 0 ]; then
+ chrony_command sources
+ fi
;;
*)
msg_usage "$0 {start|stop|restart|try-restart|force-reload|online|offline|cyclelogs|command|status}"