blob: 0cc74886011b917a5305532e1fb8616441783d52 [file] [log] [blame]
Marri Devender Rao8762fe12022-03-24 06:13:44 -05001#!/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