mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix mirrors selection error, fix DVA1622 SN
This commit is contained in:
parent
e225133099
commit
4cd71f298e
@ -535,9 +535,9 @@ function extractDsmFiles() {
|
||||
fi
|
||||
mkdir -p "${CACHE_PATH}/dl"
|
||||
|
||||
speed_a="`curl -Lo /dev/null -skw "%{speed_download}" "global.synologydownload.com"`"
|
||||
speed_b="`curl -Lo /dev/null -skw "%{speed_download}" "global.download.synology.com"`"
|
||||
speed_c="`curl -Lo /dev/null -skw "%{speed_download}" "cndl.synology.cn"`"
|
||||
speed_a="`curl -Lo /dev/null -m 1 -skw "%{speed_download}" "https://global.synologydownload.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat"`"
|
||||
speed_b="`curl -Lo /dev/null -m 1 -skw "%{speed_download}" "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat"`"
|
||||
speed_c="`curl -Lo /dev/null -m 1 -skw "%{speed_download}" "https://cndl.synology.cn/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat"`"
|
||||
fastest="`echo -e "global.synologydownload.com ${speed_a}\nglobal.download.synology.com ${speed_b}\ncndl.synology.cn ${speed_c}" | sort -k2rn | head -1 | awk '{print $1}'`"
|
||||
|
||||
mirror="`echo ${PAT_URL} | sed 's|^http[s]*://\([^/]*\).*|\1|'`"
|
||||
|
@ -1,12 +1,9 @@
|
||||
id: "DS916+"
|
||||
synoinfo: &synoinfo
|
||||
esataportcfg: "0x00"
|
||||
support_disk_compatibility: "no"
|
||||
support_memory_compatibility: "no"
|
||||
supportssdcache: "no"
|
||||
esataportcfg: "0x00"
|
||||
support_led_brightness_adjustment: "no"
|
||||
support_leds_lp3943: ""
|
||||
buzzeroffen: "0xffff"
|
||||
rss_server: "https://raw.githubusercontent.com/wjz304/arpl-arpl-i18n/main/rss.xml"
|
||||
rss_server_ssl: "https://raw.githubusercontent.com/wjz304/arpl-arpl-i18n/main/rss.xml"
|
||||
support_syno_hybrid_raid:
|
||||
|
@ -26,7 +26,7 @@ serial:
|
||||
- "2040"
|
||||
- "20C0"
|
||||
- "2150"
|
||||
middle: "SJR"
|
||||
middle: "UBR"
|
||||
suffix: "alpha"
|
||||
disks: 2
|
||||
dt: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user