summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-opkg/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-opkg/root')
-rw-r--r--applications/luci-app-opkg/root/usr/share/luci/menu.d/luci-app-opkg.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/applications/luci-app-opkg/root/usr/share/luci/menu.d/luci-app-opkg.json b/applications/luci-app-opkg/root/usr/share/luci/menu.d/luci-app-opkg.json
new file mode 100644
index 0000000000..9356b586dd
--- /dev/null
+++ b/applications/luci-app-opkg/root/usr/share/luci/menu.d/luci-app-opkg.json
@@ -0,0 +1,44 @@
+{
+ "admin/system/opkg": {
+ "title": "Software",
+ "order": 30,
+ "action": {
+ "type": "template",
+ "path": "opkg"
+ }
+ },
+
+ "admin/system/opkg/list/*": {
+ "action": {
+ "type": "call",
+ "module": "luci.controller.opkg",
+ "function": "action_list"
+ }
+ },
+
+ "admin/system/opkg/exec/*": {
+ "action": {
+ "type": "call",
+ "post": true,
+ "module": "luci.controller.opkg",
+ "function": "action_exec"
+ }
+ },
+
+ "admin/system/opkg/statvfs/*": {
+ "action": {
+ "type": "call",
+ "module": "luci.controller.opkg",
+ "function": "action_statvfs"
+ }
+ },
+
+ "admin/system/opkg/config/*": {
+ "action": {
+ "type": "call",
+ "post": { "data": true },
+ "module": "luci.controller.opkg",
+ "function": "action_config"
+ }
+ }
+}