update 03-21 22:18

This commit is contained in:
github-actions[bot] 2022-03-21 22:18:15 +08:00
parent 4f2f9719d0
commit 330f2cbe15
3 changed files with 5 additions and 3 deletions

View File

@ -10,7 +10,7 @@ PKG_NAME:=luci-app-cloudflarespeedtest
LUCI_TITLE:=LuCI support for Cloudflares Speed Test
LUCI_DEPENDS:=+cdnspeedtest +openssl-util +curl
LUCI_PKGARCH:=all
PKG_VERSION:=1.4.1
PKG_VERSION:=1.4.2
PKG_RELEASE:=0
PKG_LICENSE:=AGPL-3.0
PKG_MAINTAINER:=mingxiaoyu <fengying0347@163.com>

View File

@ -13,7 +13,9 @@ service_triggers() {
add_cron(){
local enabled
config_get_bool enabled $1 enabled
del_cron
if [ $enabled = 1 ] ; then
local minute
local hour

View File

@ -43,7 +43,7 @@ function speed_test(){
if [ $advanced -eq "1" ] ; then
command="${command} -tl ${tl} -tll ${tll} -n ${threads} -t ${t} -dt ${dt} -dn ${dn}"
if [ $dn -eq "1" ] ; then
if [ $dd -eq "1" ] ; then
command="${command} -dd"
fi
if [ $tp -ne "443" ] ; then