1#!/bin/bash 2# 3# config: 2 20 4# @brief: Get the inventory information. 5# 6 7. $DREPORT_INCLUDE/functions 8 9desc="inventory" 10 11command="busctl call --verbose --no-pager \ 12 xyz.openbmc_project.Inventory.Manager \ 13 /xyz/openbmc_project/inventory \ 14 org.freedesktop.DBus.ObjectManager \ 15 GetManagedObjects" 16 17file_name="inventory.log" 18 19add_cmd_output "$command" "$file_name" "$desc" 20