20 lines
355 B
Bash
20 lines
355 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/*.conf
|
|
mv ./bird_config/bird/net/*.conf /etc/bird/net/
|
|
|
|
rm /etc/bird/template/*.conf
|
|
mv ./bird_config/bird/template/*.conf /etc/bird/template/
|
|
|
|
birdc c
|
|
cd
|
|
rm -rf bird_config
|
|
|
|
cd
|
|
rm update.sh |