Matt Spinler | d73a663 | 2022-10-12 16:43:06 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | # | ||||
3 | # config: 2 20 | ||||
4 | # @brief: Save the 'badPEL' file | ||||
5 | # | ||||
6 | |||||
7 | . $DREPORT_INCLUDE/functions | ||||
8 | |||||
9 | desc="Bad PEL file" | ||||
10 | file_name="/var/lib/phosphor-logging/extensions/pels/badPEL" | ||||
11 | |||||
12 | if [ -e "$file_name" ]; then | ||||
Dhruvaraj Subhashchandran | 0cfe1a2 | 2023-06-21 14:16:22 -0500 | [diff] [blame] | 13 | add_copy_file "$file_name" "$desc" |
Matt Spinler | d73a663 | 2022-10-12 16:43:06 -0500 | [diff] [blame] | 14 | fi |