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