From 438d4b95c3803c793fbfa499d9f51192dd2dd829 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Aug 2019 16:06:46 +0200 Subject: [PATCH] luci-base: add rpc feature tests for sysntpd and zram Signed-off-by: Jo-Philipp Wich --- modules/luci-base/root/usr/libexec/rpcd/luci | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index 89bf14900..b89501373 100755 --- a/modules/luci-base/root/usr/libexec/rpcd/luci +++ b/modules/luci-base/root/usr/libexec/rpcd/luci @@ -333,6 +333,8 @@ local methods = { rv.br2684ctl = fs.access("/usr/sbin/br2684ctl") rv.swconfig = fs.access("/sbin/swconfig") rv.odhcpd = fs.access("/usr/sbin/odhcpd") + rv.zram = fs.access("/sys/class/zram-control") + rv.sysntpd = fs.readlink("/usr/sbin/ntpd") and true local wifi_features = { "eap", "11n", "11ac", "11r", "11w", "acs", "sae", "owe", "suiteb192" } -- 2.25.1