blob: 0cc74886011b917a5305532e1fb8616441783d52 [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