mirror of
https://github.com/RROrg/rr.git
synced 2025-08-28 23:47:09 +08:00
Compare commits
No commits in common. "29226d0e33e5dced2444139cd795efaad73b848c" and "906311665bd9e3d9888089153ded474be628d765" have entirely different histories.
29226d0e33
...
906311665b
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
|
|
||||||
RR_VERSION="25.4.1"
|
RR_VERSION="25.4.0"
|
||||||
RR_RELEASE=""
|
RR_RELEASE=""
|
||||||
RR_TITLE="RR v${RR_VERSION}"
|
RR_TITLE="RR v${RR_VERSION}"
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ function _get_fastest() {
|
|||||||
done
|
done
|
||||||
else
|
else
|
||||||
for I in "$@"; do
|
for I in "$@"; do
|
||||||
speed=$(curl -skL -m 10 --connect-timeout 10 -w '%{time_total}' "${I}" -o /dev/null)
|
speed=$(curl -skL -w '%{time_total}' "${I}" -o /dev/null)
|
||||||
speed=$(awk "BEGIN {print (${speed:-0.999} * 1000)}")
|
speed=$(awk "BEGIN {print (${speed:-0.999} * 1000)}")
|
||||||
speedlist+="${I} ${speed:-999}\n" # Assign default value 999 if speed is empty
|
speedlist+="${I} ${speed:-999}\n" # Assign default value 999 if speed is empty
|
||||||
done
|
done
|
||||||
|
@ -1 +1 @@
|
|||||||
25.4.1
|
25.4.0
|
||||||
|
2
guide.md
2
guide.md
@ -333,7 +333,7 @@
|
|||||||
|
|
||||||
# API
|
# API
|
||||||
# 获取系统信息
|
# 获取系统信息
|
||||||
synowebapi --exec api=SYNO.Core.System method=info version=1
|
synowebapi --exec api=SYNO.Core.System method=info
|
||||||
# 获取设备信息
|
# 获取设备信息
|
||||||
synowebapi --exec api=SYNO.Core.System.Utilization method=get version=1
|
synowebapi --exec api=SYNO.Core.System.Utilization method=get version=1
|
||||||
# 关闭 自动 https 重定向
|
# 关闭 自动 https 重定向
|
||||||
|
Loading…
x
Reference in New Issue
Block a user