From: Jo-Philipp Wich Date: Fri, 26 Nov 2010 16:41:30 +0000 (+0000) Subject: modules/admin-full: remove debug code for firmware upgrade X-Git-Tag: 0.10.0~359 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0ba2c5c66135d9f38e14deda5c97d6f5965d6a0c;p=oweals%2Fluci.git modules/admin-full: remove debug code for firmware upgrade --- diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua index 834879db4..2e71e7902 100644 --- 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" - --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