summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/controller/mini/system.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-mini/luasrc/controller/mini/system.lua')
-rw-r--r--modules/admin-mini/luasrc/controller/mini/system.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua
index 3a5f12c52..ac6d64b32 100644
--- a/modules/admin-mini/luasrc/controller/mini/system.lua
+++ b/modules/admin-mini/luasrc/controller/mini/system.lua
@@ -82,9 +82,7 @@ function action_upgrade()
local ret = nil
local plat = luci.fs.mtime("/lib/upgrade/platform.sh")
local tmpfile = "/tmp/firmware.img"
- local broadcom = os.execute('grep brcm_ /lib/upgrade/platform.sh >/dev/null 2>&1') == 0
-
- local keep_avail = not broadcom
+ local keep_avail = true
local file
luci.http.setfilehandler(