summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-fwknopd/root/usr/share/rpcd
diff options
context:
space:
mode:
authorOldřich Jedlička <oldium.pro@gmail.com>2020-10-18 21:23:16 +0200
committerOldřich Jedlička <oldium.pro@gmail.com>2020-10-31 09:41:19 +0100
commit7a42a6eaece2899b8925ec6dbe9ce386fc6c7f68 (patch)
tree3a2499f2d8bd056f8d7b1b58e81c20066078615a /applications/luci-app-fwknopd/root/usr/share/rpcd
parent6059f6a1a697f7b1924505183757b4e6d2f8985b (diff)
luci-app-fwknopd: Show QR codes for custom configuration.
* Addsed /etc/fwknop/access.conf parsing to show QR codes. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
Diffstat (limited to 'applications/luci-app-fwknopd/root/usr/share/rpcd')
-rw-r--r--applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json b/applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json
index 15d7975bde..307ec28b63 100644
--- a/applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json
+++ b/applications/luci-app-fwknopd/root/usr/share/rpcd/acl.d/luci-app-fwknopd.json
@@ -4,6 +4,7 @@
"read": {
"uci": [ "fwknopd" ],
"file": {
+ "/etc/fwknop/*": [ "read" ],
"/usr/bin/qrencode": [ "exec" ],
"/usr/sbin/fwknopd --key-gen": [ "exec" ]
}