From d1998ce92433d5be73ce9895b2b772dbec3f4c1d Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 9 Aug 2008 00:42:35 +0000 Subject: Added missing dependency which broke LuCI Removed unneeded Broadcom sanity check --- modules/admin-mini/luasrc/controller/mini/system.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/admin-mini/luasrc/controller') diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua index 0df4f8cc47..60f29323d8 100644 --- a/modules/admin-mini/luasrc/controller/mini/system.lua +++ b/modules/admin-mini/luasrc/controller/mini/system.lua @@ -81,10 +81,9 @@ function action_upgrade() local ret = nil local plat = luci.fs.mtime("/lib/upgrade/platform.sh") - local broadcom = os.execute('grep brcm_ /lib/upgrade/platform.sh >/dev/null 2>&1') == 0 local tmpfile = "/tmp/firmware.img" - local keep_avail = not broadcom + local keep_avail = true local file luci.http.setfilehandler( -- cgit v1.2.3