16 lines
575 B
Bash
16 lines
575 B
Bash
#!/bin/bash
|
|
|
|
git -C icvpn-meta/ pull
|
|
|
|
cd /etc/bird
|
|
|
|
icvpn-scripts/mkroa -s icvpn-meta > /var/lib/bird/icvpn_roa.conf
|
|
|
|
curl -sfSLR {-o,-z}/var/lib/bird/bird_roa_dn42_v4.conf https://dn42.burble.com/roa/dn42_roa_bird2_4.conf
|
|
curl -sfSLR {-o,-z}/var/lib/bird/bird_roa_dn42_v6.conf https://dn42.burble.com/roa/dn42_roa_bird2_6.conf
|
|
|
|
bgpq3 -b -3 -4 AS12654:RS-RIS -l ripe_rcc_beacons_v4 > /var/lib/bird/ripe_rcc_beacons.conf
|
|
bgpq3 -b -3 -6 AS12654:RS-RIS -l ripe_rcc_beacons_v6 >> /var/lib/bird/ripe_rcc_beacons.conf
|
|
|
|
# Maybe do a 'birdc configure check' before?
|
|
birdc configure
|