Files
bird_config/update.sh
2025-11-08 21:43:43 +08:00

15 lines
377 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
rm /etc/bird/net/inet.conf
curl https://git.nia.ink/brnet/bird_config/raw/branch/master/bird/net/inet.conf > /etc/bird/net/inet.conf
chmod -R 755 /etc/bird
echo "请更新peers/inet的全部配置信息再birdc c"
echo "内网V4tpl_inet4_ibgp"
echo "内网V6tpl_inet6_ibgp"
echo "外网V4tpl_inet4_up"
echo "外网V6tpl_inet6_up"
cd
rm update.sh