From c170dfab9197f714c5e4483caad924631779122a Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Fri, 9 Feb 2024 03:07:22 +0200 Subject: luci-app-tor: add config for tor Currently the UCI for the Tor allows to set only a list of configs to include. The only way to configure it for a user is to upload its own config and add it to list of included. We can simplify this with the app. Signed-off-by: Sergey Ponomarev --- .../luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'applications/luci-app-tor/root/usr/share/rpcd') diff --git a/applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json b/applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json index 0d109b1c98..8095a17fda 100644 --- a/applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json +++ b/applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json @@ -16,7 +16,10 @@ "uci": [ "tor", "tor-hs" - ] + ], + "file": { + "/etc/tor/*": [ "write" ] + } } } } -- cgit v1.2.3