luci-base: luci.js: introduce hasSystemFeature() api
authorJo-Philipp Wich <jo@mein.io>
Wed, 14 Aug 2019 14:42:55 +0000 (16:42 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Aug 2019 20:58:15 +0000 (22:58 +0200)
commita4621c95201a6ac436b3cfdc9bf6ed2d2571e607
treeac4402d775b857eee27e649e12b541f2602502ec
parent3b335f2764bfda3f18e13bf492e461977599e411
luci-base: luci.js: introduce hasSystemFeature() api

The new function allows querying the presence of certain system features
such as dnsmasq or firewall availability or the compile time features
of hostapd and wpa_supplicant.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js
modules/luci-base/root/usr/libexec/rpcd/luci
modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json