mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-17 22:13:17 +08:00
🚀 Sync 2026-11-14 15:02:09
This commit is contained in:
1 parent
90f27ab347
commit
9f5777add1
44 files changed
+3970
-5
No files matched your search
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"admin/home": {
|
||||
"title": "Home",
|
||||
"order": 0,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "7dollar/home"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-theme-7dollar" ],
|
||||
"uci": {
|
||||
"luci": {
|
||||
"main": {
|
||||
"mediaurlbase": "/luci-static/7dollar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"admin/clients": {
|
||||
"title": "Devices",
|
||||
"order": 2,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "7dollar/devices"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-theme-7dollar" ],
|
||||
"uci": {
|
||||
"luci": {
|
||||
"main": {
|
||||
"mediaurlbase": "/luci-static/7dollar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"admin/apps": {
|
||||
"title": "Apps",
|
||||
"order": 39,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "7dollar/apps"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-theme-7dollar" ],
|
||||
"uci": {
|
||||
"luci": {
|
||||
"main": {
|
||||
"mediaurlbase": "/luci-static/7dollar"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"admin/system/appearance": {
|
||||
"title": "Appearance",
|
||||
"order": 3,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "7dollar/appearance"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-theme-7dollar" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"luci-theme-7dollar": {
|
||||
"description": "Grant access to the 7Dollar theme dashboard and appearance settings",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"luci-rpc": [ "getDHCPLeases", "getHostHints", "getWirelessDevices", "getNetworkDevices" ],
|
||||
"iwinfo": [ "assoclist" ],
|
||||
"network.interface": [ "dump" ],
|
||||
"system": [ "board", "info" ],
|
||||
"service": [ "list" ],
|
||||
"luci": [ "getMountPoints" ],
|
||||
"uci": [ "get" ],
|
||||
"file": [ "read", "exec" ]
|
||||
},
|
||||
"file": {
|
||||
"/proc/stat": [ "read" ],
|
||||
"/proc/net/dev": [ "read" ],
|
||||
"/proc/net/route": [ "read" ],
|
||||
"/proc/net/arp": [ "read" ],
|
||||
"/sys/class/net/*/brforward": [ "read" ],
|
||||
"/sys/devices/virtual/net/*/brforward": [ "read" ],
|
||||
"/proc/sys/net/ipv4/tcp_congestion_control": [ "read" ],
|
||||
"/sys/class/thermal": [ "list" ],
|
||||
"/sys/class/hwmon": [ "list" ],
|
||||
"/sys/class/thermal/thermal_zone*/type": [ "read" ],
|
||||
"/sys/class/thermal/thermal_zone*/temp": [ "read" ],
|
||||
"/sys/class/hwmon/hwmon*/name": [ "read" ],
|
||||
"/sys/class/hwmon/hwmon*/temp1_input": [ "read" ],
|
||||
"/proc/[0-9]*/net/dev": [ "read" ],
|
||||
"/proc/[0-9]*/net/route": [ "read" ],
|
||||
"/proc/[0-9]*/net/arp": [ "read" ],
|
||||
"/sys/devices/*/thermal_zone*/type": [ "read" ],
|
||||
"/sys/devices/*/thermal_zone*/temp": [ "read" ],
|
||||
"/sys/devices/*/hwmon*/name": [ "read" ],
|
||||
"/sys/devices/*/hwmon*/temp1_input": [ "read" ],
|
||||
"/sys/module/mt79*e/parameters/wed_enable": [ "read" ],
|
||||
"/opt/open-box/data/panel-port": [ "read" ],
|
||||
"/bin/ping": [ "exec" ]
|
||||
},
|
||||
"uci": [ "7dollar", "firewall", "luci", "AdGuardHome", "bandix", "homeproxy", "ksmbd", "mosdns", "nikki", "openclash", "passwall", "passwall2", "samba4", "shadowsocksr", "smartdns" ]
|
||||
},
|
||||
"write": {
|
||||
"ubus": {
|
||||
"uci": [ "add", "set", "delete", "commit" ]
|
||||
},
|
||||
"uci": [ "7dollar", "luci" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "luci",
|
||||
"exec": "/bin/touch -c /usr/share/luci/menu.d/luci-theme-7dollar.json"
|
||||
}
|
||||
Reference in new issue
Block a user