diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-08-15 16:06:46 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-08-15 16:10:42 +0200 |
commit | 438d4b95c3803c793fbfa499d9f51192dd2dd829 (patch) | |
tree | 22afda8f5a4f8ed229c9cb16b5b90c2eaae6ae4a /modules/luci-base | |
parent | 42bd5aa9c4e1c5e7d69c2736500b866ddb4daa26 (diff) |
luci-base: add rpc feature tests for sysntpd and zram
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rwxr-xr-x | modules/luci-base/root/usr/libexec/rpcd/luci | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci index 89bf14900c..b895013736 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" } |