summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-26 16:41:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-26 16:41:30 +0000
commit0ba2c5c66135d9f38e14deda5c97d6f5965d6a0c (patch)
treeb7305550e64186f78b6b117d0f633186ca466105
parentd0038577759fed19d7cb7d1e0d8aa9951829e55d (diff)
modules/admin-full: remove debug code for firmware upgrade
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua3
1 files changed, 1 insertions, 2 deletions
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