21 lines
377 B
Bash
21 lines
377 B
Bash
#!/bin/bash
|
|
|
|
cd
|
|
git clone https://git.nia.ink/brnet/bird_config.git
|
|
|
|
rm /etc/bird/filter/*.conf
|
|
mv ./bird_config/bird/filter/*.conf /etc/bird/filter/
|
|
|
|
rm /etc/bird/function/*.conf
|
|
mv ./bird_config/bird/function/*.conf /etc/bird/function/
|
|
|
|
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 |