From 625abbfdbe94dada023ebd8ea69778173d1a7351 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Feb 2020 16:51:19 +0100 Subject: treewide: convert simple Lua controllers to declarative JSON Signed-off-by: Jo-Philipp Wich --- .../root/usr/share/luci/menu.d/luci-app-shairplay.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json (limited to 'applications/luci-app-shairplay/root/usr') diff --git a/applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json b/applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json new file mode 100644 index 0000000000..fae7319459 --- /dev/null +++ b/applications/luci-app-shairplay/root/usr/share/luci/menu.d/luci-app-shairplay.json @@ -0,0 +1,13 @@ +{ + "admin/services/shairplay": { + "title": "Shairplay", + "action": { + "type": "cbi", + "path": "shairplay", + "post": { "cbi.submit": true } + }, + "depends": { + "uci": { "shairplay": true } + } + } +} -- cgit v1.2.3