Changeset 5938

Show
Ignore:
Timestamp:
03/27/10 03:02:51 (3 years ago)
Author:
jow
Message:

luci-0.9: flush stdout during sysupgrade

Location:
luci/branches/luci-0.9/modules
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • luci/branches/luci-0.9/modules/admin-full/luasrc/controller/admin/system.lua

    r5754 r5938  
    245245            -- Mimetype text/plain 
    246246            luci.http.prepare_content("text/plain") 
     247            luci.http.write("Starting luci-flash...\n") 
    247248 
    248249            -- Now invoke sysupgrade 
     
    257258                    if not ln then break end 
    258259                    luci.http.write(ln .. "\n") 
     260                    io.flush() 
    259261                end 
    260262                fd:close() 
  • luci/branches/luci-0.9/modules/admin-mini/luasrc/controller/mini/system.lua

    r5317 r5938  
    152152            -- Mimetype text/plain 
    153153            luci.http.prepare_content("text/plain") 
     154            luci.http.write("Starting luci-flash...\n") 
    154155 
    155156            -- Now invoke sysupgrade 
     
    164165                    if not ln then break end 
    165166                    luci.http.write(ln .. "\n") 
     167                    io.flush() 
    166168                end 
    167169                fd:close()