From: Steven Barth Date: Wed, 24 Sep 2008 22:37:49 +0000 (+0000) Subject: Broadcom should handle keep_avail now X-Git-Tag: 0.8.0~36 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=56885c203a1ed1455120e4023706b4c4923ed43f;p=project%2Fluci.git Broadcom should handle keep_avail now --- diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua index 981d6255f2..415131c8d8 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 a07918518f..e61d0a05cf 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(