projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fade8ed
)
Fixed status detection for firmware flash
author
Steven Barth
<steven@midlink.org>
Fri, 12 Sep 2008 12:13:26 +0000
(12:13 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 12 Sep 2008 12:13:26 +0000
(12:13 +0000)
libs/sys/luasrc/sys.lua
patch
|
blob
|
history
diff --git
a/libs/sys/luasrc/sys.lua
b/libs/sys/luasrc/sys.lua
index 9b68a25e6f7232ee4a5705b31e313dd6becfe593..3fa34fd5bc046dfd259b2171969a74e73618c465 100644
(file)
--- a/
libs/sys/luasrc/sys.lua
+++ b/
libs/sys/luasrc/sys.lua
@@
-77,12
+77,12
@@
function flash(image, kpattern)
return false, line
else
line = fp:read()
- if line == "Performing system upgrade" then
+ if line == "Performing system upgrade
...
" then
return true
end
line = fp:read()
- if line == "Performing system upgrade" then
+ if line == "Performing system upgrade
...
" then
return true
end