Signed-off-by: Jun Ouyang <redacted>
include $(TOPDIR)/rules.mk
PKG_NAME:=prometheus-node-exporter-lua
-PKG_VERSION:=2026.05.09
+PKG_VERSION:=2026.05.10
PKG_RELEASE:=1
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
local u = ubus.connect()
local status = u:call("network.wireless", "status", {})
+ if not status then
+ return
+ end
+
for dev, dev_table in pairs(status) do
for _, intf in ipairs(dev_table['interfaces']) do
local ifname = intf['ifname']
local u = ubus.connect()
local status = u:call("network.wireless", "status", {})
+ if not status then
+ return
+ end
+
for dev, dev_table in pairs(status) do
for _, intf in ipairs(dev_table['interfaces']) do
local ifname = intf['ifname']