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-upnp.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 applications/luci-app-upnp/root/usr/share/luci/menu.d/luci-app-upnp.json (limited to 'applications/luci-app-upnp/root') diff --git a/applications/luci-app-upnp/root/usr/share/luci/menu.d/luci-app-upnp.json b/applications/luci-app-upnp/root/usr/share/luci/menu.d/luci-app-upnp.json new file mode 100644 index 0000000000..7fdf67dcc8 --- /dev/null +++ b/applications/luci-app-upnp/root/usr/share/luci/menu.d/luci-app-upnp.json @@ -0,0 +1,12 @@ +{ + "admin/services/upnp": { + "title": "UPnP", + "action": { + "type": "view", + "path": "upnp/upnp" + }, + "depends": { + "uci": { "upnpd": true } + } + } +} -- cgit v1.2.3