Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
pldm
/
3f5a969cee42ab9bfdf79707bfe3ad8b6782ec7b
/
.
/
oem
/
ibm
/
service_files
/
scripts
/
create-NVRAM-file
blob: f55203da8dad95ea40725043e2a916a3bba92ad6 [
file
] [
log
] [
blame
]
#!/bin/sh
if
[
-
f
/
var
/
lib
/
pldm
/
PHYP
-
NVRAM
];
then
mv
/
var
/
lib
/
pldm
/
PHYP
-
NVRAM
/
var
/
lib
/
phosphor
-
software
-
manager
/
hostfw
/
nvram
/
PHYP
-
NVRAM
;
else
truncate
-
s $
((
1024
*
145408
))
/
var
/
lib
/
phosphor
-
software
-
manager
/
hostfw
/
nvram
/
PHYP
-
NVRAM
fi