Fixed status detection for firmware flash
authorSteven Barth <steven@midlink.org>
Fri, 12 Sep 2008 12:13:26 +0000 (12:13 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 12 Sep 2008 12:13:26 +0000 (12:13 +0000)
libs/sys/luasrc/sys.lua

index 9b68a25..3fa34fd 100644 (file)
@@ -77,12 +77,12 @@ function flash(image, kpattern)
                return false, line
        else
                line = fp:read()
                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()
                        return true
                end
                
                line = fp:read()
-               if line == "Performing system upgrade" then
+               if line == "Performing system upgrade..." then
                        return true
                end
                
                        return true
                end