diff options
author | Nick Hainke <vincent@systemli.org> | 2020-12-18 19:17:07 +0100 |
---|---|---|
committer | Nick Hainke <vincent@systemli.org> | 2020-12-19 13:54:23 +0100 |
commit | 35761aa3a07e6a9ee75cd9a2f4536c11f1cdd9dd (patch) | |
tree | ec9dc1053095cd59093a6fa46ab49f4dd57f7bdd /applications/luci-app-babeld/root/usr | |
parent | b43a5da43e16f016e4fe22425970a649b9c66fdb (diff) |
luci-app-babeld: add babeld overview
Add overview of babeld status, xroutes and routes.
Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'applications/luci-app-babeld/root/usr')
-rw-r--r-- | applications/luci-app-babeld/root/usr/share/luci/menu.d/luci-app-babeld.json | 13 | ||||
-rw-r--r-- | applications/luci-app-babeld/root/usr/share/rpcd/acl.d/luci-app-babeld.json | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/applications/luci-app-babeld/root/usr/share/luci/menu.d/luci-app-babeld.json b/applications/luci-app-babeld/root/usr/share/luci/menu.d/luci-app-babeld.json new file mode 100644 index 0000000000..8d0b010c21 --- /dev/null +++ b/applications/luci-app-babeld/root/usr/share/luci/menu.d/luci-app-babeld.json @@ -0,0 +1,13 @@ +{ + "admin/status/babeld": { + "title": "Babeld", + "action": { + "type": "cbi", + "path": "babeld", + "post": { "cbi.submit": true } + }, + "depends": { + "acl": [ "luci-app-babeld" ] + } + } +} diff --git a/applications/luci-app-babeld/root/usr/share/rpcd/acl.d/luci-app-babeld.json b/applications/luci-app-babeld/root/usr/share/rpcd/acl.d/luci-app-babeld.json new file mode 100644 index 0000000000..51687bad5c --- /dev/null +++ b/applications/luci-app-babeld/root/usr/share/rpcd/acl.d/luci-app-babeld.json @@ -0,0 +1,11 @@ +{ + "luci-app-babeld": { + "description": "Grant UCI access for babeld", + "read": { + "uci": [ "babeld" ] + }, + "write": { + "uci": [ "babeld" ] + } + } +} |