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