mirror of https://github.com/CISOfy/lynis.git
Chronyd support, finishing test
This commit is contained in:
parent
1c07e6fa2c
commit
7854eeae20
|
@ -52,10 +52,11 @@
|
||||||
FOUND=0
|
FOUND=0
|
||||||
|
|
||||||
if [ -f /etc/chrony.conf ]; then
|
if [ -f /etc/chrony.conf ]; then
|
||||||
IsRunning chronyd
|
IsRunning chronyd
|
||||||
if [ ${RUNNING} -eq 1 ]; then
|
if [ ${RUNNING} -eq 1 ]; then
|
||||||
FOUND=1; NTP_DAEMON_RUNNING=1; NTP_CONFIG_TYPE_DAEMON=1; NTP_DAEMON="chronyd"
|
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
|
Display --indent 2 --text "- NTP daemon found: chronyd" --result FOUND --color GREEN
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check time daemon (eg DragonFly BSD)
|
# Check time daemon (eg DragonFly BSD)
|
||||||
|
@ -113,7 +114,7 @@
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
logtext "Result: crontab file ${I} not found"
|
logtext "Result: crontab file ${I} not found"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
|
|
Loading…
Reference in New Issue