1*0d72381fSGopichand Paturi#!/bin/bash 2*0d72381fSGopichand Paturi# 3*0d72381fSGopichand Paturi# config: 6 10 4*0d72381fSGopichand Paturi# @brief: Collect faultlog command output. 5*0d72381fSGopichand Paturi# 6*0d72381fSGopichand Paturi 7*0d72381fSGopichand Paturi. $DREPORT_INCLUDE/functions 8*0d72381fSGopichand Paturiexport PDBG_DTB=/var/lib/phosphor-software-manager/hostfw/running/DEVTREE 9*0d72381fSGopichand Paturi 10*0d72381fSGopichand Paturidesc="faultlog" 11*0d72381fSGopichand Paturifile_name="faultlog.json" 12*0d72381fSGopichand Paturicommand="faultlog -f" 13*0d72381fSGopichand Paturi 14*0d72381fSGopichand Paturiadd_cmd_output "$command" "$file_name" "$desc" 15