22 lines
445 B
Bash
22 lines
445 B
Bash
#!/bin/bash
|
|
|
|
cd
|
|
git clone https://git.nia.ink/brnet/bird_config.git
|
|
|
|
rm /etc/bird/bird.conf
|
|
mv ./bird_config/bird/bird.conf /etc/bird/bird.conf
|
|
|
|
rm /etc/bird/net/dn42.conf
|
|
mv ./bird_config/bird/net/dn42.conf /etc/bird/net/dn42.conf
|
|
|
|
rm /etc/bird/net/inet.conf
|
|
mv ./bird_config/bird/net/inet.conf /etc/bird/net/inet.conf
|
|
|
|
mv ./bird_config/bird/conf/static.conf /etc/bird/conf/static.conf.disable
|
|
|
|
birdc c
|
|
cd
|
|
rm -rf bird_config
|
|
|
|
cd
|
|
rm update.sh |