diff --git a/include/tests_time b/include/tests_time index 5569c804..4184f9b3 100644 --- a/include/tests_time +++ b/include/tests_time @@ -164,10 +164,12 @@ FIND=`grep 'ntpdate_enable="YES"' /etc/rc.conf` if [ ! "${FIND}" = "" ]; then logtext "Result: ntpdate is enabled in rc.conf" - # Mark system having a NTP client, but remind user to improve it FOUND=1 NTP_CONFIG_TYPE_STARTUP=1 - ReportSuggestion ${TEST_NO} "Although ntpdate is enabled in rc.conf, it is adviced to run it at least daily or use a NTP daemon" + # Only show suggestion when ntpdate is enabled, however ntpd is not running + if [ ${NTP_DAEMON_RUNNING} -eq 0 ]; then + ReportSuggestion ${TEST_NO} "Although ntpdate is enabled in rc.conf, it is adviced to run it at least daily or use a NTP daemon" + fi else logtext "Result: ntpdate is not enabled in rc.conf" fi