summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/system.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/system.lua')
-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