From 7854eeae20cecc13b3b5c4e2dfdb11cdeea63034 Mon Sep 17 00:00:00 2001 From: mboelen Date: Mon, 25 May 2015 17:45:41 +0200 Subject: [PATCH] Chronyd support, finishing test --- include/tests_time | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/tests_time b/include/tests_time index 8937219d..8d425fa3 100644 --- a/include/tests_time +++ b/include/tests_time @@ -52,10 +52,11 @@ FOUND=0 if [ -f /etc/chrony.conf ]; then - IsRunning chronyd - if [ ${RUNNING} -eq 1 ]; then - FOUND=1; NTP_DAEMON_RUNNING=1; NTP_CONFIG_TYPE_DAEMON=1; NTP_DAEMON="chronyd" - Display --indent 2 --text "- NTP daemon found: chronyd" --result FOUND --color GREEN + IsRunning chronyd + if [ ${RUNNING} -eq 1 ]; then + FOUND=1; NTP_DAEMON_RUNNING=1; NTP_CONFIG_TYPE_DAEMON=1; NTP_DAEMON="chronyd" + Display --indent 2 --text "- NTP daemon found: chronyd" --result FOUND --color GREEN + fi fi # Check time daemon (eg DragonFly BSD) @@ -113,7 +114,7 @@ fi else logtext "Result: crontab file ${I} not found" - fi + fi done ##########################