aboutsummaryrefslogtreecommitdiff
path: root/rpkid/portal-gui/routeviews.sh
blob: ad8f40ba7ccdbbfe509e7b2afb40af0fb38de417 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

i=oix-full-snapshot-latest.dat.bz2
o=/tmp/$i

#curl -s -S -o $o http://archive.routeviews.org/oix-route-views/$i
# wget is stock in Ubuntu so use that instead of curl
wget -q -O $o http://archive.routeviews.org/oix-route-views/$i

if [ $? -eq 0 ]; then
       rpkigui-import-routes -l error $o
fi