op-packages/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
2026-04-23 20:32:35 +08:00

189 lines
3.2 KiB
JSON

{
"admin/status/overview": {
"title": "Overview",
"order": 1,
"action": {
"type": "template",
"path": "admin_status/index"
},
"depends": {
"acl": [ "luci-mod-status-index" ]
}
},
"admin/status/routes": {
"title": "Routing",
"order": 2,
"action": {
"type": "view",
"path": "status/routes"
},
"depends": {
"acl": [ "luci-mod-status-routes" ],
"fs": [
{ "/usr/libexec/ip-tiny": "absent", "/usr/libexec/ip-full": "absent" }
]
}
},
"admin/status/routesj": {
"title": "Routing",
"order": 2,
"action": {
"type": "view",
"path": "status/routesj"
},
"depends": {
"acl": [ "luci-mod-status-routes-json" ],
"fs": [
{ "/usr/libexec/ip-tiny": "executable" },
{ "/usr/libexec/ip-full": "executable" }
]
}
},
"admin/status/iptables": {
"title": "Firewall",
"order": 3,
"action": {
"type": "view",
"path": "status/iptables"
},
"depends": {
"acl": [ "luci-mod-status-firewall" ],
"fs": [
{ "/usr/sbin/nft": "absent", "/usr/sbin/iptables": "executable" },
{ "/usr/sbin/nft": "absent", "/usr/sbin/ip6tables": "executable" }
]
}
},
"admin/status/nftables": {
"title": "Firewall",
"order": 3,
"action": {
"type": "view",
"path": "status/nftables"
},
"depends": {
"acl": [ "luci-mod-status-firewall" ],
"fs": { "/usr/sbin/nft": "executable" }
}
},
"admin/status/nftables/iptables": {
"action": {
"type": "view",
"path": "status/iptables"
}
},
"admin/status/logs": {
"title": "System Log",
"order": 4,
"action": {
"type": "alias",
"path": "admin/status/logs/syslog"
},
"depends": {
"acl": [ "luci-mod-status-logs" ]
}
},
"admin/status/logs/syslog": {
"title": "System Log",
"order": 1,
"action": {
"type": "view",
"path": "status/syslog"
}
},
"admin/status/logs/dmesg": {
"title": "Kernel Log",
"order": 2,
"action": {
"type": "view",
"path": "status/dmesg"
}
},
"admin/status/processes": {
"title": "Processes",
"order": 6,
"action": {
"type": "view",
"path": "status/processes"
},
"depends": {
"acl": [ "luci-mod-status-processes" ]
}
},
"admin/status/channel_analysis": {
"title": "Channel Analysis",
"order": 7,
"action": {
"type": "view",
"path": "status/channel_analysis"
},
"depends": {
"acl": [ "luci-mod-status-channel_analysis" ],
"uci": { "wireless": { "@wifi-device": true } }
}
},
"admin/status/realtime": {
"title": "Realtime Graphs",
"order": 7,
"action": {
"type": "alias",
"path": "admin/status/realtime/load"
},
"depends": {
"acl": [ "luci-mod-status-realtime" ]
}
},
"admin/status/realtime/load": {
"title": "Load",
"order": 1,
"action": {
"type": "view",
"path": "status/load"
}
},
"admin/status/realtime/bandwidth": {
"title": "Bandwidth",
"order": 2,
"action": {
"type": "view",
"path": "status/bandwidth"
}
},
"admin/status/realtime/wireless": {
"title": "Wireless",
"order": 3,
"action": {
"type": "view",
"path": "status/wireless"
},
"depends": {
"uci": { "wireless": { "@wifi-device": true } }
}
},
"admin/status/realtime/connections": {
"title": "Connections",
"order": 4,
"action": {
"type": "view",
"path": "status/connections"
}
}
}