blob: 4cc18214eec7a964f98dd3098465ae723d77456a [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"
Marri Devender Rao124d31f2022-04-11 08:09:40 -050012if [ -f $timedatectl ]; then
Marri Devender Rao8762fe12022-03-24 06:13:44 -050013 add_cmd_output "echo $'\n[timedatectl]'" "$file_name" "timedatectl"
14 add_cmd_output "$timedatectl" "$file_name" "timedatectl"
15fi
16