mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 11:16:38 +04:00
Added missing dependency which broke LuCI
Removed unneeded Broadcom sanity check
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user