xref: /openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/plugins.d/badpel (revision 0cfe1a2ee0fd9ecf69d340f7bad4a2a9c1b04d32)
1#!/usr/bin/env bash
2#
3# config: 2 20
4# @brief: Save the 'badPEL' file
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="Bad PEL file"
10file_name="/var/lib/phosphor-logging/extensions/pels/badPEL"
11
12if [ -e "$file_name" ]; then
13    add_copy_file "$file_name" "$desc"
14fi
15