summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-24 22:37:09 +0000
committerSteven Barth <steven@midlink.org>2008-09-24 22:37:09 +0000
commit4538b12895af0f95bfd728de53391ceaa895dd08 (patch)
treed6e68abf1decfba1dbaf52b4e06f4f786a5debff /modules/admin-full/luasrc
parent402485bfcc6d1246c23dfee03eab753b379b684c (diff)
Broadcom should handle keep_avail now
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua
index ba592da2b9..5d6037151e 100644
--- a/modules/admin-full/luasrc/controller/admin/system.lua
+++ b/modules/admin-full/luasrc/controller/admin/system.lua
@@ -185,9 +185,7 @@ function action_upgrade()
local ret
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(