summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-tor/root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-tor/root/usr')
-rw-r--r--applications/luci-app-tor/root/usr/share/luci/menu.d/luci-app-tor.json8
-rw-r--r--applications/luci-app-tor/root/usr/share/rpcd/acl.d/luci-app-tor.json5
2 files changed, 12 insertions, 1 deletions
diff --git a/applications/luci-app-tor/root/usr/share/luci/menu.d/luci-app-tor.json b/applications/luci-app-tor/root/usr/share/luci/menu.d/luci-app-tor.json
index 19777f6bd0..0ea6d1c935 100644
--- a/applications/luci-app-tor/root/usr/share/luci/menu.d/luci-app-tor.json
+++ b/applications/luci-app-tor/root/usr/share/luci/menu.d/luci-app-tor.json
@@ -19,5 +19,13 @@
"type": "view",
"path": "tor/tor-hs"
}
+ },
+ "admin/services/tor/tor": {
+ "title": "Tor Onion router",
+ "order": 30,
+ "action": {
+ "type": "view",
+ "path": "tor/tor"
+ }
}
}
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" ]
+ }
}
}
}