4
0
mirror of https://github.com/darkclip/netlist.git synced 2026-11-11 15:14:07 +08:00
This commit is contained in:
darkclip 2024-02-07 22:59:02 +08:00
parent 9ccaebb272
commit 89c60e89cb

View File

@ -112,8 +112,8 @@ generate_ips(){
speedtest(){
exe_file='/var/tmp/warp';
result_file='/var/tmp/result.csv'
if [ ! -x "$exe_file" ]; then
curl -SfLo "$exe_file" "https://git.tink.ltd:8443/netlist.git/tree/warp-$1?raw=true&h=better-warp-ip" 2>&1;
if [ ! -x "$exe_file" ]; thens
curl -SfLo "$exe_file" "https://git.tink.ltd:8443/tink/netlist/raw/branch/better-warp-ip/warp-$1" 2>&1;
fi;
ulimit -n 102400;
chmod +x "$exe_file" && "$exe_file" -file "$2" -output "$result_file" >/dev/null 2>&1;