update 03-21 22:18
This commit is contained in:
parent
4f2f9719d0
commit
330f2cbe15
|
@ -10,7 +10,7 @@ PKG_NAME:=luci-app-cloudflarespeedtest
|
||||||
LUCI_TITLE:=LuCI support for Cloudflares Speed Test
|
LUCI_TITLE:=LuCI support for Cloudflares Speed Test
|
||||||
LUCI_DEPENDS:=+cdnspeedtest +openssl-util +curl
|
LUCI_DEPENDS:=+cdnspeedtest +openssl-util +curl
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
PKG_VERSION:=1.4.1
|
PKG_VERSION:=1.4.2
|
||||||
PKG_RELEASE:=0
|
PKG_RELEASE:=0
|
||||||
PKG_LICENSE:=AGPL-3.0
|
PKG_LICENSE:=AGPL-3.0
|
||||||
PKG_MAINTAINER:=mingxiaoyu <fengying0347@163.com>
|
PKG_MAINTAINER:=mingxiaoyu <fengying0347@163.com>
|
||||||
|
|
|
@ -14,6 +14,8 @@ add_cron(){
|
||||||
local enabled
|
local enabled
|
||||||
config_get_bool enabled $1 enabled
|
config_get_bool enabled $1 enabled
|
||||||
|
|
||||||
|
del_cron
|
||||||
|
|
||||||
if [ $enabled = 1 ] ; then
|
if [ $enabled = 1 ] ; then
|
||||||
local minute
|
local minute
|
||||||
local hour
|
local hour
|
||||||
|
|
|
@ -43,7 +43,7 @@ function speed_test(){
|
||||||
|
|
||||||
if [ $advanced -eq "1" ] ; then
|
if [ $advanced -eq "1" ] ; then
|
||||||
command="${command} -tl ${tl} -tll ${tll} -n ${threads} -t ${t} -dt ${dt} -dn ${dn}"
|
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"
|
command="${command} -dd"
|
||||||
fi
|
fi
|
||||||
if [ $tp -ne "443" ] ; then
|
if [ $tp -ne "443" ] ; then
|
||||||
|
|
Loading…
Reference in New Issue