mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-06 23:08:07 +08:00
update 2025-07-11 14:19:26
This commit is contained in:
@@ -9,8 +9,8 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-netspeedtest
|
||||
|
||||
PKG_VERSION:=5.0.5
|
||||
PKG_RELEASE:=20250612
|
||||
PKG_VERSION:=5.0.6
|
||||
PKG_RELEASE:=20250711
|
||||
|
||||
LUCI_TITLE:=LuCI Support for netspeedtest
|
||||
LUCI_DEPENDS:=+speedtest-cli +homebox +netspeedtest $(if $(find_package iperf3-ssl),+iperf3-ssl,+iperf3)
|
||||
|
||||
@@ -77,7 +77,7 @@ return view.extend({
|
||||
if (result_content.length) {
|
||||
if (result_content[0] == 'Testing') {
|
||||
result_stat.innerHTML = "<span style='color:green;font-weight:bold'>" +
|
||||
"<img src='/luci-static/resources/icons/loading.gif' height='17' style='vertical-align:middle ;margin-left:20px'/> " +
|
||||
"<img src='/luci-static/resources/icons/loading.svg' height='17' style='vertical-align:middle ;margin-left:20px'/> " +
|
||||
_('SpeedTesting in progress...') +
|
||||
"</span>";
|
||||
} else if (result_content[0].match(/https?:\S+/)) {
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"/bin/sh": [ "exec" ],
|
||||
"/bin/cat": [ "exec" ],
|
||||
"/usr/bin/iperf3": [ "exec" ],
|
||||
"/usr/bin/nohup": [ "exec" ],
|
||||
"/usr/bin/speedtest": [ "exec" ],
|
||||
"/tmp/speedtest_result": [ "read" ],
|
||||
"/tmp/netspeedtest.log": [ "read" ]
|
||||
|
||||
Reference in New Issue
Block a user