mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 18:35:13 +08:00
🍉 Sync 2026-09-06 13:36:06
This commit is contained in:
1 parent
da7d5957ad
commit
813df5818f
12 files changed
+2656
-46
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# Custom kernel parameters managed by luci-app-sysctl.
|
||||
#
|
||||
# Entries added or modified through the LuCI web interface
|
||||
# (System -> 内核参数 / Kernel Parameters) are stored in this file.
|
||||
#
|
||||
# A line prefixed with "#" means the entry is disabled, e.g.:
|
||||
# # net.core.somaxconn = 4096
|
||||
#
|
||||
# This file is loaded at boot time by /etc/init.d/sysctl and can be
|
||||
# re-applied at runtime from the LuCI page ("应用配置" button).
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"admin/system/sysctl": {
|
||||
"title": "内核参数",
|
||||
"order": 65,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "sysctl"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-sysctl" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"luci-app-sysctl": {
|
||||
"description": "Grant access to kernel sysctl parameters",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"luci.sysctl": [
|
||||
"status",
|
||||
"list",
|
||||
"browse",
|
||||
"search",
|
||||
"preset_status",
|
||||
"preset_fetch",
|
||||
"preset_check",
|
||||
"file_view",
|
||||
"preset_list"
|
||||
]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"ubus": {
|
||||
"luci.sysctl": [
|
||||
"set",
|
||||
"remove",
|
||||
"apply",
|
||||
"preset_import",
|
||||
"preset_remove",
|
||||
"file_set",
|
||||
"file_delete"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user