blob: cdd461fec9a811b17fc7a7b8c5d24f5ce31a19be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
#
# config: 2 40
# @brief: Collect GUARD record information.
#
. $DREPORT_INCLUDE/functions
desc="GUARD Records"
file_name="/var/lib/phosphor-software-manager/pnor/prsv/GUARD"
# Check file is present and not empty.
if [ ! -s "$file_name" ]; then
log_info "No $desc"
exit 0
fi
add_copy_file "$file_name" "$desc"
|