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