🍕 Sync 2026-09-26 23:39:10

This commit is contained in:
github-actions[bot] committed 2026-09-26 23:39:10 +08:00
1 parent 8b5f6dab51
commit 90200f421f
4 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI Status Pages
LUCI_DEPENDS:=+luci-base +luci-app-oui +luci-mod-dashboard +libiwinfo +rpcd-mod-iwinfo +rpcd-mod-rrdns +ucode +ucode-mod-fs +ucode-mod-ubus +ucode-mod-socket
PKG_RELEASE:=15
PKG_RELEASE:=16
PKG_BUILD_DEPENDS:=iwinfo
PKG_LICENSE:=Apache-2.0
@@ -219,7 +219,7 @@ return baseclass.extend({
L.hasSystemFeature('ufpd') ? callUfpList() : null,
L.resolveDefault(uci.load('dhcp')),
L.resolveDefault(callClientWeb(), {}),
L.resolveDefault(fs.read('/proc/net/arp'), ''),
L.resolveDefault(fs.exec_direct('/usr/libexec/luci-arp'), ''),
L.resolveDefault(fs.read('/tmp/luci-client-history.json').then(JSON.parse), {})
]);
},
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
cat /proc/net/arp
@@ -2,9 +2,10 @@
"luci-mod-status-index": {
"description": "Grant access to main status display",
"read": {
"cgi-io": [ "exec" ],
"file": {
"/etc/board.json": [ "read" ],
"/proc/net/arp": [ "read" ],
"/usr/libexec/luci-arp": [ "exec" ],
"/tmp/luci-client-history.json": [ "read" ],
"/proc/sys/net/netfilter/nf_conntrack_count": [ "read" ],
"/proc/sys/net/netfilter/nf_conntrack_max": [ "read" ],