diff options
Diffstat (limited to 'applications/luci-app-rp-pppoe-server/root')
2 files changed, 14 insertions, 4 deletions
diff --git a/applications/luci-app-rp-pppoe-server/root/usr/share/luci/menu.d/luci-app-rp-pppoe-server.json b/applications/luci-app-rp-pppoe-server/root/usr/share/luci/menu.d/luci-app-rp-pppoe-server.json index b58ab6394e..a3d2717290 100644 --- a/applications/luci-app-rp-pppoe-server/root/usr/share/luci/menu.d/luci-app-rp-pppoe-server.json +++ b/applications/luci-app-rp-pppoe-server/root/usr/share/luci/menu.d/luci-app-rp-pppoe-server.json @@ -2,9 +2,19 @@ "admin/services/rp-pppoe-server": { "title": "RP PPPoE Server", "action": { - "type": "cbi", - "path": "rp-pppoe-server", - "post": { "cbi.submit": true } + "type": "view", + "path": "pppoe/rp-pppoe-server" + }, + "depends": { + "acl": [ "luci-app-rp-pppoe-server" ], + "uci": { "pppoe": true } + } + }, + "admin/services/rp-pppoe-relay": { + "title": "RP PPPoE Relay", + "action": { + "type": "view", + "path": "pppoe/rp-pppoe-relay" }, "depends": { "acl": [ "luci-app-rp-pppoe-server" ], diff --git a/applications/luci-app-rp-pppoe-server/root/usr/share/rpcd/acl.d/luci-app-rp-pppoe-server.json b/applications/luci-app-rp-pppoe-server/root/usr/share/rpcd/acl.d/luci-app-rp-pppoe-server.json index 904faac7c6..9ca677e245 100644 --- a/applications/luci-app-rp-pppoe-server/root/usr/share/rpcd/acl.d/luci-app-rp-pppoe-server.json +++ b/applications/luci-app-rp-pppoe-server/root/usr/share/rpcd/acl.d/luci-app-rp-pppoe-server.json @@ -2,7 +2,7 @@ "luci-app-rp-pppoe-server": { "description": "Grant UCI access for luci-app-rp-pppoe-server", "read": { - "uci": [ "pppoe" ] + "uci": [ "pppoe", "network" ] }, "write": { "uci": [ "pppoe" ] |