blob: 4cc18214eec7a964f98dd3098465ae723d77456a [file] [log] [blame]
#!/usr/bin/env bash
#
# config: 1234 30
# @brief: Log date and time
#
. $DREPORT_INCLUDE/functions
file_name="timedate.log"
timedatectl="/usr/bin/timedatectl"
if [ -f $timedatectl ]; then
add_cmd_output "echo $'\n[timedatectl]'" "$file_name" "timedatectl"
add_cmd_output "$timedatectl" "$file_name" "timedatectl"
fi