mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
82 lines
1.8 KiB
JSON
82 lines
1.8 KiB
JSON
{
|
|
"luci-mod-status-index": {
|
|
"description": "Grant access to main status display",
|
|
"read": {
|
|
"cgi-io": [ "exec" ],
|
|
"file": {
|
|
"/etc/board.json": [ "read" ],
|
|
"/usr/libexec/luci-arp": [ "exec" ],
|
|
"/tmp/luci-client-history.json": [ "read" ],
|
|
"/proc/sys/net/netfilter/nf_conntrack_count": [ "read" ],
|
|
"/proc/sys/net/netfilter/nf_conntrack_max": [ "read" ],
|
|
"/www/luci-static/resources/view/status/include": [ "list" ]
|
|
},
|
|
"ubus": {
|
|
"luci": [ "getVersion", "getUnixtime", "getOdhcp6cStats", "getBuiltinEthernetPorts", "getCPUBench", "getCPUInfo", "getCPUUsage" ],
|
|
"file": [ "list", "read" ],
|
|
"system": [ "board", "info" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"uci": [ "dhcp" ]
|
|
}
|
|
},
|
|
|
|
"luci-mod-status-index-storage": {
|
|
"description": "Grant access to Storage and Mount status display",
|
|
"read": {
|
|
"ubus": {
|
|
"luci": [ "getMountPoints" ],
|
|
"system": [ "info" ]
|
|
}
|
|
}
|
|
},
|
|
|
|
"luci-mod-status-index-dhcp": {
|
|
"description": "Grant access to DHCP status display",
|
|
"read": {
|
|
"ubus": {
|
|
"luci-rpc": [ "getDHCPLeases" ],
|
|
"fingerprint": [ "fingerprint" ]
|
|
}
|
|
}
|
|
},
|
|
|
|
"luci-mod-status-index-dsl": {
|
|
"description": "Grant access to DSL status display",
|
|
"read": {
|
|
"ubus": {
|
|
"dsl": [ "metrics" ]
|
|
}
|
|
}
|
|
},
|
|
|
|
"luci-mod-status-index-ports": {
|
|
"description": "Grant access to port status display",
|
|
"read": {
|
|
"ubus": {
|
|
"luci": [ "getBuiltinEthernetPorts", "getSwconfigPortState" ],
|
|
"luci-rpc": [ "getNetworkDevices" ]
|
|
}
|
|
}
|
|
},
|
|
|
|
"luci-mod-status-index-wifi": {
|
|
"description": "Grant access to wireless status display",
|
|
"read": {
|
|
"file": {
|
|
"/usr/sbin/wlanconfig": [ "exec" ]
|
|
},
|
|
"ubus": {
|
|
"file": [ "exec" ],
|
|
"iwinfo": [ "assoclist", "devices", "info" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"hostapd.*": [ "del_client", "wps_start", "wps_cancel", "wps_status" ]
|
|
}
|
|
}
|
|
}
|
|
}
|