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