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