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