Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
3604710d3b6f45a003e97a47d1de0b6a463420be
/
.
/
tools
/
dreport.d
/
plugins.d
/
hostnamectl
blob: 5d726d1a6e810917a5f0e7b6a4fce8a01250e76f [
file
] [
log
] [
blame
]
#!/bin/bash
#
# config: 1234 5
# @brief: Collect current hostname settings.
#
.
$DREPORT_INCLUDE
/
functions
desc
=
"hostnamectl"
file_name
=
"hostnamectl.log"
command
=
"hostnamectl status"
add_cmd_output
"$command"
"$file_name"
"$desc"