Fixed status detection for firmware flash
This commit is contained in:
parent
fade8edd2d
commit
67049e97b4
1 changed files with 2 additions and 2 deletions
|
@ -77,12 +77,12 @@ function flash(image, kpattern)
|
||||||
return false, line
|
return false, line
|
||||||
else
|
else
|
||||||
line = fp:read()
|
line = fp:read()
|
||||||
if line == "Performing system upgrade" then
|
if line == "Performing system upgrade..." then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
line = fp:read()
|
line = fp:read()
|
||||||
if line == "Performing system upgrade" then
|
if line == "Performing system upgrade..." then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue