Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
pldm
/
5763209596fdfa514cf9b88a74e26b6801db25d5
/
.
/
oem
/
ibm
/
service_files
/
scripts
/
create-NVRAM-cksum-file
blob: e33054f4baed65bc563bdcfe9c119b80e625dee9 [
file
] [
log
] [
blame
]
#!/bin/sh
if
[
-
f
/
var
/
lib
/
pldm
/
PHYP
-
NVRAM
-
CKSUM
];
then
mv
/
var
/
lib
/
pldm
/
PHYP
-
NVRAM
-
CKSUM
/
var
/
lib
/
phosphor
-
software
-
manager
/
hostfw
/
nvram
/
PHYP
-
NVRAM
-
CKSUM
;
else
truncate
-
s
16
/
var
/
lib
/
phosphor
-
software
-
manager
/
hostfw
/
nvram
/
PHYP
-
NVRAM
-
CKSUM
fi