/usr/share/rpcd/acl.d/luci-base.json
最下面增加
*"uci-access": {
"description": "Grant uci write access to all configurations",
"read": {
"uci": [ "*" ]
},
"write": {
"uci": [ "*" ]
}
},*
"luci-base-network-status": {
"description": "Grant access to network status information",
"read": {
"ubus": {
"luci-rpc": [ "getBoardJSON", "getHostHints", "getNetworkDevices", "getWirelessDevices" ],
"network": [ "get_proto_handlers" ],
"network.interface": [ "dump" ]
},
"uci": [ "luci", "network", "wireless" ]
}
}
本文由 do 创作,采用 知识共享署名4.0 国际许可协议进行许可