1*24226c4fSGopichand Paturi#!/bin/bash 2*24226c4fSGopichand Paturi# 3*24226c4fSGopichand Paturi# config: 23 20 4*24226c4fSGopichand Paturi# 5*24226c4fSGopichand Paturi# 23 = User dump(2), elog dump(3) 6*24226c4fSGopichand Paturi# 20 = priority 7*24226c4fSGopichand Paturi 8*24226c4fSGopichand Paturi# @brief: Collect the PEL files 9*24226c4fSGopichand Paturi 10*24226c4fSGopichand Paturi# shellcheck disable=SC1091 11*24226c4fSGopichand Paturi. "$DREPORT_INCLUDE"/functions 12*24226c4fSGopichand Paturi 13*24226c4fSGopichand Paturidir="/var/lib/phosphor-logging/extensions/pels/logs" 14*24226c4fSGopichand Paturidesc="PEL Files" 15*24226c4fSGopichand Paturiif [ -d $dir ]; then 16*24226c4fSGopichand Paturi add_copy_file "$dir" "$desc" 17*24226c4fSGopichand Paturifi 18