diff options
Diffstat (limited to 'applications/luci-app-rosy-file-server/root/usr')
-rw-r--r-- | applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json b/applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json new file mode 100644 index 0000000000..03e7fd0f4a --- /dev/null +++ b/applications/luci-app-rosy-file-server/root/usr/share/luci/menu.d/luci-app-rosy-file-server.json @@ -0,0 +1,34 @@ +{ + "httpfs": { + "title": "Rosy File Server", + "order": 5, + "setuser": "root", + "setgroup": "root", + "action": { + "type": "firstchild" + }, + "depends": { + "uci": { "rosyfs": true } + } + }, + + "httpfs/rosy-file-server": { + "title": "Rosy File Server", + "order": 1, + "action": { + "type": "form", + "path": "rosy-file-server/rosy-file-server", + "post": { "cbi.submit": true } + } + }, + + "admin/services/rosyfs": { + "title": "Rosy File Server", + "order": 61, + "action": { + "type": "cbi", + "path": "rosy-file-server/rosyfs", + "post": { "cbi.submit": true } + } + } +} |