openwtr vmware v2ray权限不足,无法读取UCI配置

日期 2020-10-15 默认分类 作者 donny-展望未来 共0评论

/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" ]
    }
}
人生在世,错别字在所难免,无需纠正。