Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
pldm
/
a933c09175ee1d5a5dfda930dc74109f1650207d
/
.
/
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