13 lines
390 B
Bash
13 lines
390 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
|
|
|
|
# Maybe do a 'birdc configure check' before?
|
|
birdc configure
|