diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2024-02-09 03:07:22 +0200 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway@gmail.com> | 2024-02-12 14:26:55 +0100 |
commit | c170dfab9197f714c5e4483caad924631779122a (patch) | |
tree | 7d6fa086f7f80bf070755c32937e5a223d16bb0b /applications/luci-app-tor/root/usr/share/rpcd | |
parent | a4e586397e9d5695b2c435b03fb5b5da27ac6aa0 (diff) |
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 <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-tor/root/usr/share/rpcd')
-rw-r--r-- | applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json | 5 |
1 files changed, 4 insertions, 1 deletions
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" ] + } } } } |