mirror of
https://github.com/srlabs/blue-merle.git
synced 2025-01-25 13:57:05 -05:00
30 lines
775 B
JSON
30 lines
775 B
JSON
|
{
|
||
|
"luci-app-opkg2": {
|
||
|
"description": "Grant access to opkg management",
|
||
|
"read": {
|
||
|
"cgi-io": [ "exec" ],
|
||
|
"file": {
|
||
|
"/usr/libexec/opkg-list installed": [ "exec" ],
|
||
|
"/usr/libexec/opkg-list available": [ "exec" ],
|
||
|
"/usr/libexec/opkg-call list-installed": [ "exec" ],
|
||
|
"/usr/libexec/opkg-call list-available": [ "exec" ],
|
||
|
"/etc/opkg.conf": [ "read" ],
|
||
|
"/etc/opkg/*.conf": [ "read" ]
|
||
|
},
|
||
|
"ubus": {
|
||
|
"luci": [ "getMountPoints" ]
|
||
|
}
|
||
|
},
|
||
|
"write": {
|
||
|
"file": {
|
||
|
"/usr/libexec/opkg-call install *": [ "exec" ],
|
||
|
"/usr/libexec/opkg-call remove *": [ "exec" ],
|
||
|
"/usr/libexec/opkg-call update *": [ "exec" ],
|
||
|
"/etc/opkg.conf": [ "write" ],
|
||
|
"/etc/opkg/*.conf": [ "write" ],
|
||
|
"/tmp/upload.ipk": [ "write" ]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|