diff options
author | Christian Korber <ckorber@tdt.de> | 2024-11-15 09:18:17 +0100 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-11-23 01:03:05 +0100 |
commit | 03f37cff4c1cd73993284779f92c4982d30aa2bd (patch) | |
tree | 3e111a96809bb4b3f4cf38f9b248f5c190547693 /applications/luci-app-keepalived/root/usr/share/rpcd | |
parent | a4a5cf6af7035a21abc98959747f157a0b453fb5 (diff) |
luci-app-keepalived: add notification tab
This commit adds a tab to modify keepalived.user file.
With this commit it is possible to issue custom commands.
Signed-off-by: Christian Korber <ckorber@tdt.de>
Diffstat (limited to 'applications/luci-app-keepalived/root/usr/share/rpcd')
-rw-r--r-- | applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json b/applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json index 0c8b676e61..c83054408c 100644 --- a/applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json +++ b/applications/luci-app-keepalived/root/usr/share/rpcd/acl.d/luci-app-keepalived.json @@ -5,12 +5,16 @@ "ubus" : { "keepalived" : [ "*" ] }, - "uci": [ "keepalived" ] + "uci": [ "keepalived" ], + "file": { + "/etc/keepalived.user": [ "read" ] + } }, "write" : { "uci": [ "keepalived" ], "file" : { - "/etc/keepalived/keys/*" : [ "write" ] + "/etc/keepalived/keys/*" : [ "write" ], + "/etc/keepalived.user": [ "write" ] } } } |