mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-30 05:11:41 +08:00
31 lines
795 B
JSON
31 lines
795 B
JSON
{
|
|
"luci-app-taskplan": {
|
|
"description": "Grant access to Task Plan procedures",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.taskplan": [ "status", "list", "task_list" ]
|
|
},
|
|
"file": {
|
|
"/etc/taskplan/taskplan.log": [ "read" ],
|
|
"/etc/config/taskplan": [ "read" ],
|
|
"/etc/taskplan/taskplan.log": [ "read" ],
|
|
"/etc/taskplan/taskplancustomscript": [ "read" ],
|
|
"/etc/taskplan/taskplancustomscript2": [ "read" ]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.taskplan": [ "start", "stop", "restart", "reload" ]
|
|
},
|
|
"file": {
|
|
"/etc/config/taskplan": [ "write" ],
|
|
"/etc/taskplan/taskplancustomscript": [ "write" ],
|
|
"/etc/taskplan/taskplancustomscript2": [ "write" ]
|
|
},
|
|
"execute": {
|
|
"/etc/init.d/taskplan": [ "start", "stop", "restart", "reload" ]
|
|
}
|
|
}
|
|
}
|
|
}
|