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