luci-base: add relayd to getFeature list
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 12 Mar 2020 15:40:25 +0000 (16:40 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
Add /sbin/block to the generic Feature list to make
it easily accessible by getProtocolHandlers

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit d8e1aef1505496a04631550363ce83bb0147c0a9)

modules/luci-base/root/usr/libexec/rpcd/luci

index c2be3e92b34662cb058a031e588545a372f34881..35b85d43d0b64a922b06220648925ca0affb2f89 100755 (executable)
@@ -217,6 +217,7 @@ local methods = {
                        rv.ipv6          = fs.access("/proc/net/ipv6_route")
                        rv.dropbear      = fs.access("/usr/sbin/dropbear")
                        rv.cabundle      = fs.access("/etc/ssl/certs/ca-certificates.crt")
+                       rv.relayd        = fs.access("/usr/sbin/relayd")
 
                        local wifi_features = { "eap", "11n", "11ac", "11r", "11w", "acs", "sae", "owe", "suiteb192" }