xref: /openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/faultlog (revision 0d72381feff226fff27ad11fb8efc9550d195f9d)
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