modules/admin-full: remove debug code for firmware upgrade
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 26 Nov 2010 16:41:30 +0000 (16:41 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 26 Nov 2010 16:41:30 +0000 (16:41 +0000)
modules/admin-full/luasrc/controller/admin/system.lua

index 834879db4041918a15149a5415960d9e3b6386a5..2e71e79024261e431ac511e061c74cd03ae9c4f9 100644 (file)
@@ -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