mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 11:45:13 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"admin/control/taskplan": {
|
||||
"title": "Task Plan",
|
||||
"order": 60,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-taskplan" ],
|
||||
"uci": { "taskplan": true }
|
||||
}
|
||||
},
|
||||
"admin/control/taskplan/scheduled": {
|
||||
"title": "Scheduled Tasks",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "taskplan/scheduled"
|
||||
}
|
||||
},
|
||||
"admin/control/taskplan/startup": {
|
||||
"title": "Startup Tasks",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "taskplan/startup"
|
||||
}
|
||||
},
|
||||
"admin/control/taskplan/log": {
|
||||
"title": "Log Viewer",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "taskplan/log"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "taskplan",
|
||||
"init": "taskplan"
|
||||
}
|
||||
Reference in new issue
Block a user