blob: 9ab3e94c8fe98b1aa6a2e2237be619314276f6f4 [file] [log] [blame]
#!/bin/bash
#
# config: 123 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"