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