Marri Devender Rao | ba3e914 | 2022-04-12 06:49:48 -0500 | [diff] [blame] | 1 | #!/bin/bash |
2 | # | ||||
3 | # config: 23 20 | ||||
4 | # | ||||
5 | # 23 = User dump(2), elog dump(3) | ||||
6 | # 20 = priority | ||||
7 | |||||
8 | # @brief: Collect the PEL files | ||||
9 | |||||
10 | # shellcheck disable=SC1091 | ||||
11 | . "$DREPORT_INCLUDE"/functions | ||||
12 | |||||
13 | dir="/var/lib/phosphor-logging/extensions/pels/logs" | ||||
14 | desc="PEL Files" | ||||
15 | if [ -d $dir ]; then | ||||
16 | add_copy_file "$dir" "$desc" | ||||
17 | fi |