26 lines
567 B
Bash
26 lines
567 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
|
|
|
|
rm /etc/bird/net/unet.conf
|
|
mv ./bird_config/bird/net/unet.conf /etc/bird/net/unet.conf
|
|
|
|
rm /etc/bird/function/tables.conf
|
|
mv ./bird_config/bird/function/tables.conf /etc/bird/function/tables.conf
|
|
|
|
birdc c
|
|
cd
|
|
rm -rf bird_config
|
|
|
|
cd
|
|
rm update.sh |