🌴 Sync 2026-03-05 23:51:42

This commit is contained in:
github-actions[bot] committed 2026-03-05 23:51:42 +08:00
1 parent 97c049ed0a
commit 0acff03804
14253 files changed
+3893239

No files matched your search

@@ -0,0 +1,10 @@
{
"admin/system/shutdown": {
"title": "Shutdown",
"order": 90,
"action": {
"type": "view",
"path": "syscontrol/shutdown"
}
}
}
@@ -0,0 +1,10 @@
{
"admin/system/release_ram": {
"title": "Release RAM",
"order": 89,
"action": {
"type": "view",
"path": "syscontrol/release-ram"
}
}
}
@@ -0,0 +1,61 @@
{
"admin/system/syscontrol": {
"title": "System control",
"order": 60,
"action": {
"type": "firstchild"
},
"depends": {
"acl": [ "luci-app-syscontrol" ],
"uci": { "system": true }
}
},
"admin/system/syscontrol/overview": {
"title": "Overview",
"order": 10,
"action": {
"type": "view",
"path": "syscontrol/overview"
}
},
"admin/system/syscontrol/release-ram": {
"title": "Release RAM",
"order": 20,
"action": {
"type": "view",
"path": "syscontrol/release-ram"
}
},
"admin/system/syscontrol/reboot": {
"title": "Reboot",
"order": 30,
"action": {
"type": "view",
"path": "syscontrol/reboot"
}
},
"admin/system/syscontrol/shutdown": {
"title": "Shutdown",
"order": 40,
"action": {
"type": "view",
"path": "syscontrol/shutdown"
}
},
"admin/system/syscontrol/config": {
"title": "RAM Release Schedule",
"order": 50,
"action": {
"type": "view",
"path": "syscontrol/config"
}
},
"admin/system/syscontrol/log": {
"title": "RAM Release Log",
"order": 60,
"action": {
"type": "view",
"path": "syscontrol/log"
}
}
}
@@ -0,0 +1,32 @@
{
"luci-app-syscontrol": {
"description": "Grant access to system control functions",
"read": {
"ubus": {
"system": [ "info" ],
"file": [ "read" ],
"service": [ "list" ]
},
"uci": [ "system", "77_syscontrol" ],
"file": {
"/sbin/poweroff": [ "exec" ],
"/usr/bin/ram_release.sh": [ "exec" ],
"/var/log/ram_release.log": [ "read" ],
"/etc/init.d/ram_release": [ "exec" ]
}
},
"write": {
"ubus": {
"system": [ "drop_caches", "reboot" ],
"file": [ "exec", "write" ],
"service": [ "start", "stop" ]
},
"uci": [ "77_syscontrol" ],
"file": {
"/usr/bin/ram_release.sh": [ "exec" ],
"/var/log/ram_release.log": [ "write" ],
"/etc/init.d/ram_release": [ "exec" ]
}
}
}
}