de
This commit is contained in:
@@ -43,4 +43,4 @@ protocol kernel {
|
||||
};
|
||||
|
||||
include "/etc/bird/net/*.conf";
|
||||
include "/etc/bird/template/*.conf";
|
||||
include "/etc/bird/template/include.conf";
|
||||
7
bird/template/include.conf
Normal file
7
bird/template/include.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
include "/etc/bird/template/inet.conf";
|
||||
include "/etc/bird/template/inet_ixp.conf";
|
||||
include "/etc/bird/peers/inet/*";
|
||||
|
||||
|
||||
include "/etc/bird/template/unet.conf";
|
||||
include "/etc/bird/peers/unet/*.conf";
|
||||
@@ -91,5 +91,3 @@ template bgp tpl_inet6_ibgp {
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
include "/etc/bird/peers/inet/*";
|
||||
@@ -101,6 +101,4 @@ template bgp unet_ibgp {
|
||||
accept;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
include "/etc/bird/peers/unet/*.conf";
|
||||
}
|
||||
10
update.sh
10
update.sh
@@ -2,10 +2,12 @@
|
||||
|
||||
cd
|
||||
git clone https://git.nia.ink/brnet/bird_config.git
|
||||
mv bird_config/bird/conf/inet_func.conf /etc/bird/conf/
|
||||
mv bird_config/bird/conf/inet_ixp.conf /etc/bird/conf/
|
||||
mv bird_config/bird/template/inet_ixp.conf /etc/bird/template
|
||||
mv bird_config/bird/function/unet.conf /etc/bird/function
|
||||
rm -rf /etc/bird/bird.conf
|
||||
mv bird_config/bird/bird.conf /etc/bird
|
||||
|
||||
|
||||
rm -rf /etc/bird/template
|
||||
mv bird_config/bird/template /etc/bird
|
||||
|
||||
chmod -R 755 /etc/bird
|
||||
|
||||
|
||||
Reference in New Issue
Block a user