From d21ebcfbbc13ee8f979d8dbffeca1c9f1a7926a3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 31 Oct 2019 14:15:40 +0100 Subject: luci-base: migrate luci/getBoardJSON to C plugin Signed-off-by: Jo-Philipp Wich --- modules/luci-base/root/usr/libexec/rpcd/luci | 7 ------- 1 file changed, 7 deletions(-) (limited to 'modules/luci-base/root/usr/libexec') diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index ace0957f3e..1e95ff5c68 100755 --- a/modules/luci-base/root/usr/libexec/rpcd/luci +++ b/modules/luci-base/root/usr/libexec/rpcd/luci @@ -334,13 +334,6 @@ local methods = { end }, - getBoardJSON = { - call = function(args) - local jsc = require "luci.jsonc" - return jsc.parse(fs.readfile("/etc/board.json") or "") - end - }, - getConntrackHelpers = { call = function() local ok, fd = pcall(io.open, "/usr/share/fw3/helpers.conf", "r") -- cgit v1.2.3