unifreq/openwrt_packit

cpustat报错

redjumper opened this issue · 1 comments

N1 armbian,基于mk_openwrt_dockerimg.sh编译的openwrt。cpustat会报错,然后写满日志,有什么workaround吗

Tue Oct 11 02:07:48 2022 daemon.err uhttpd[22898]: No such file or directory at /usr/bin/cpustat line 171.
Tue Oct 11 02:07:53 2022 daemon.err uhttpd[22898]: No such file or directory at /usr/bin/cpustat line 171.
Tue Oct 11 02:07:58 2022 daemon.err uhttpd[22898]: No such file or directory at /usr/bin/cpustat line 171.

运行cpustat -e,结果如下

No such file or directory at /usr/bin/cpustat line 171.
[
{
"name": "eth0",
"driver": "",
"temperature": "☰",
"operstate": 1,
"speed": "1Gb/s full duplex"
}
]

已修改代码,把警告信息屏蔽了。