Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
ad298b6e05a37d229a05ce82746dd77bb8bdb64c
/
.
/
tools
/
dreport.d
/
ibm.d
/
badvpd
blob: 309b88989cc6222686554150dd7ced2a511923a3 [
file
] [
log
] [
blame
]
#!/bin/bash
#
# config: 2 15
# @brief: Collect Bad VPD.
#
.
$DREPORT_INCLUDE
/
functions
desc
=
"Bad VPD"
dir_name
=
"/tmp/bad-vpd"
if
[
-
f $dir_name
];
then
add_copy_file
"$dir_name"
"$desc"
else
log_info
"No $desc data"
exit
fi