1#!/usr/bin/env bash
2#
3# config: 1234 30
4# @brief: Log date and time
5#
6
7. $DREPORT_INCLUDE/functions
8
9file_name="timedate.log"
10
11timedatectl="/usr/bin/timedatectl"
12if [ -f $timedatectl ]; then
13    add_cmd_output "echo $'\n[timedatectl]'" "$file_name" "timedatectl"
14    add_cmd_output "$timedatectl" "$file_name" "timedatectl"
15fi
16
17