blob: 4c64ff18b241e925d5382a80ba1514eeb789d50b [file] [log] [blame]
#!/bin/bash
#
# config: 1234 5
# @brief: Collect Host state information.
#
. $DREPORT_INCLUDE/functions
desc="Host State"
file_name="host-state.log"
command="busctl get-property \
xyz.openbmc_project.State.Host \
/xyz/openbmc_project/state/host0 \
xyz.openbmc_project.State.Host \
CurrentHostState"
add_cmd_output "$command" "$file_name" "$desc"