From 4538b12895af0f95bfd728de53391ceaa895dd08 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 24 Sep 2008 22:37:09 +0000 Subject: [PATCH] Broadcom should handle keep_avail now --- modules/admin-full/luasrc/controller/admin/system.lua | 4 +--- modules/admin-mini/luasrc/controller/mini/system.lua | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua index ba592da2b..5d6037151 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( 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( -- 2.25.1