From 0ba2c5c66135d9f38e14deda5c97d6f5965d6a0c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 26 Nov 2010 16:41:30 +0000 Subject: modules/admin-full: remove debug code for firmware upgrade --- modules/admin-full/luasrc/controller/admin/system.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules') 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 -- cgit v1.2.3