xref: /openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/faultlog (revision ac291d44b3822d6c9359f0397d7d4084b0954bd9)
1#!/bin/bash
2#
3# config: 6 10
4# @brief: Collect faultlog command output.
5#
6
7. $DREPORT_INCLUDE/functions
8export PDBG_DTB=/var/lib/phosphor-software-manager/hostfw/running/DEVTREE
9
10desc="faultlog"
11file_name="faultlog.json"
12command="faultlog -f"
13
14add_cmd_output "$command" "$file_name" "$desc"
15