modules/admin-full: remove debug code for firmware upgrade
This commit is contained in:
parent
d003857775
commit
0ba2c5c661
1 changed files with 1 additions and 2 deletions
|
@ -264,8 +264,7 @@ function action_upgrade()
|
||||||
|
|
||||||
-- Now invoke sysupgrade
|
-- Now invoke sysupgrade
|
||||||
local keepcfg = keep_avail and luci.http.formvalue("keepcfg") == "1"
|
local keepcfg = keep_avail and luci.http.formvalue("keepcfg") == "1"
|
||||||
--local flash = ltn12_popen("/sbin/sysupgrade %q" % tmpfile)
|
local flash = ltn12_popen("/sbin/sysupgrade %q" % tmpfile)
|
||||||
local flash = ltn12_popen("hexdump %q" % tmpfile)
|
|
||||||
|
|
||||||
luci.ltn12.pump.all(flash, luci.http.write)
|
luci.ltn12.pump.all(flash, luci.http.write)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue