update 2026-09-24 16:56:26

This commit is contained in:
action committed 2026-09-24 16:56:26 +08:00
1 parent b31a5c3878
commit e4cee331e9
6885 files changed
+3240523

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" ]
}
}
}
}