mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-18 08:20:11 +00:00
修改 uclient-fetch 超时参数
This commit is contained in:
@@ -573,7 +573,7 @@ AutoUpdate_Main() {
|
||||
elif [[ $(CHECK_PKG wget) == true ]];then
|
||||
Downloader="wget -q --no-check-certificate -T 5 --no-dns-cache -x"
|
||||
else
|
||||
Downloader="uclient-fetch -q --no-check-certificate --timeout 5"
|
||||
Downloader="uclient-fetch -q --no-check-certificate -T 5"
|
||||
fi
|
||||
|
||||
[[ -z $* ]] && PREPARE_UPGRADES $*
|
||||
|
||||
Reference in New Issue
Block a user