mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-31 20:45:13 +08:00
update 2026-10-07 18:47:42
This commit is contained in:
1 parent
617f7ca2a6
commit
bd061545ed
4832 files changed
+1693456
No files matched your search
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"admin/system/poweroffdevice": {
|
||||
"title": "PowerOff",
|
||||
"order": 99,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/poweroffdevice"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"luci-app-poweroffdevice": {
|
||||
"description": "Grant UCI access for luci-app-poweroffdevice",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"system": [ "info" ],
|
||||
},
|
||||
"file": {
|
||||
"/sbin/poweroff": [ "exec" ],
|
||||
}
|
||||
},
|
||||
|
||||
"write": {
|
||||
"file": {
|
||||
"/sbin/poweroff": [ "exec" ]
|
||||
},
|
||||
"ubus": {
|
||||
"file": [ "exec" ],
|
||||
"system": [ "poweroff" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user