xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/hostnamectl (revision 6d7f753ba7ecc2dd062758a46ef77ce5c44b9bdb)
1#!/bin/bash
2#
3# config: 1234 5
4# @brief: Collect current hostname settings.
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="hostnamectl"
10file_name="hostnamectl.log"
11command="hostnamectl status"
12
13add_cmd_output "$command" "$file_name" "$desc"
14