diff options
Diffstat (limited to 'applications/luci-app-mjpg-streamer/root')
2 files changed, 15 insertions, 8 deletions
diff --git a/applications/luci-app-mjpg-streamer/root/usr/share/luci/menu.d/luci-app-mjpg-streamer.json b/applications/luci-app-mjpg-streamer/root/usr/share/luci/menu.d/luci-app-mjpg-streamer.json index 6f79358e49..9a5a8bd9eb 100644 --- a/applications/luci-app-mjpg-streamer/root/usr/share/luci/menu.d/luci-app-mjpg-streamer.json +++ b/applications/luci-app-mjpg-streamer/root/usr/share/luci/menu.d/luci-app-mjpg-streamer.json @@ -2,13 +2,16 @@ "admin/services/mjpg-streamer": { "title": "MJPG-streamer", "action": { - "type": "cbi", - "path": "mjpg-streamer", - "post": { "cbi.submit": true } + "type": "view", + "path": "mjpg-streamer/mjpg-streamer" }, "depends": { - "acl": [ "luci-app-mjpg-streamer" ], - "uci": { "mjpg-streamer": true } + "acl": [ + "luci-app-mjpg-streamer" + ], + "uci": { + "mjpg-streamer": true + } } } } diff --git a/applications/luci-app-mjpg-streamer/root/usr/share/rpcd/acl.d/luci-app-mjpg-streamer.json b/applications/luci-app-mjpg-streamer/root/usr/share/rpcd/acl.d/luci-app-mjpg-streamer.json index ab68a6e1c2..4a2f1df55a 100644 --- a/applications/luci-app-mjpg-streamer/root/usr/share/rpcd/acl.d/luci-app-mjpg-streamer.json +++ b/applications/luci-app-mjpg-streamer/root/usr/share/rpcd/acl.d/luci-app-mjpg-streamer.json @@ -2,10 +2,14 @@ "luci-app-mjpg-streamer": { "description": "Grant UCI access for luci-app-mjpg-streamer", "read": { - "uci": [ "mjpg-streamer" ] + "uci": [ + "mjpg-streamer" + ] }, "write": { - "uci": [ "mjpg-streamer" ] + "uci": [ + "mjpg-streamer" + ] } } -} +}
\ No newline at end of file |