mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-07-13 12:52:36 +08:00
fix axel error when action retried No state file, cannot resume
This commit is contained in:
parent
08191ce5d6
commit
88fceffee0
@ -20,6 +20,7 @@ get_asn(){
|
||||
}
|
||||
|
||||
prepare_data_v4(){
|
||||
rm -f rib.gz
|
||||
bgpkit-broker latest -c rrc00 --json | jq -c '.[] | select( .data_type | contains("rib")) | .url' | head -n 1 | xargs axel -q -o rib.gz
|
||||
stat rib.gz
|
||||
log_info "runing bgpdump v4 ..."
|
||||
@ -28,6 +29,7 @@ prepare_data_v4(){
|
||||
log_info "finish bgpdump v4"
|
||||
}
|
||||
prepare_data_v6(){
|
||||
rm -f rib6.gz
|
||||
bgpkit-broker latest -c route-views6 --json | jq -c '.[] | select( .data_type | contains("rib")) | .url' | head -n 1 | xargs axel -q -o rib6.bz2
|
||||
stat rib6.bz2
|
||||
log_info "runing bgpdump v6 ..."
|
||||
|
Loading…
Reference in New Issue
Block a user