17 lines
267 B
Bash
17 lines
267 B
Bash
#!/bin/bash
|
|
|
|
cd
|
|
git clone https://git.nia.ink/brnet/bird_config.git
|
|
rm -rf /etc/bird/net
|
|
mv bird_config/bird/net /etc/bird/
|
|
rm -rf /etc/bird/bird.conf
|
|
mv bird_config/bird/bird.conf /etc/bird/
|
|
|
|
chmod -R 755 /etc/bird
|
|
|
|
birdc c
|
|
cd
|
|
rm -rf bird_config
|
|
|
|
cd
|
|
rm update.sh |