#!/bin/bash
#
# config: 1234 5
# @brief: Collect current hostname settings.
#

# shellcheck source=tools/dreport.d/include.d/functions
. "$DREPORT_INCLUDE"/functions

desc="hostnamectl"
file_name="hostnamectl.log"
command="hostnamectl status"

add_cmd_output "$command" "$file_name" "$desc"
