projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules/admin-full: remove debug code for firmware upgrade
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
controller
/
admin
/
system.lua
diff --git
a/modules/admin-full/luasrc/controller/admin/system.lua
b/modules/admin-full/luasrc/controller/admin/system.lua
index
834879d
..
2e71e79
100644
(file)
--- a/
modules/admin-full/luasrc/controller/admin/system.lua
+++ b/
modules/admin-full/luasrc/controller/admin/system.lua
@@
-264,8
+264,7
@@
function action_upgrade()
-- Now invoke sysupgrade
local keepcfg = keep_avail and luci.http.formvalue("keepcfg") == "1"
-- Now invoke sysupgrade
local keepcfg = keep_avail and luci.http.formvalue("keepcfg") == "1"
- --local flash = ltn12_popen("/sbin/sysupgrade %q" % tmpfile)
- local flash = ltn12_popen("hexdump %q" % tmpfile)
+ local flash = ltn12_popen("/sbin/sysupgrade %q" % tmpfile)
luci.ltn12.pump.all(flash, luci.http.write)
end
luci.ltn12.pump.all(flash, luci.http.write)
end