Fix birdc path

This commit is contained in:
KAAAsS 2021-04-15 23:29:30 +08:00
parent b61dfe91f3
commit aa8f5bf00e
Signed by: KAAAsS
GPG Key ID: D56625F3E671882F
2 changed files with 3 additions and 3 deletions

View File

@ -13,13 +13,13 @@ echo
__color $GREEN "Protocols Status: "
echo
/usr/bin/birdc show protocols
/usr/sbin/birdc show protocols
echo
__color $GREEN "Route to DN42 anycast dns: "
echo
/usr/bin/birdc show route for 172.20.0.53 all
/usr/sbin/birdc show route for 172.20.0.53 all
echo
__color $GREEN "Ping DN42 anycast dns: "

View File

@ -25,7 +25,7 @@ if [[ -d $BIRD_CONF_DIR/concrete/$CONF_NAME ]]; then
rm -f $BIRD_CONF_DIR/conf
ln -s $BIRD_CONF_DIR/concrete/$CONF_NAME $BIRD_CONF_DIR/conf
echo "Config $CONF_NAME enabled"
/usr/bin/birdc configure
/usr/sbin/birdc configure
echo "Config $CONF_NAME configured"
else
echo "Config $CONF_NAME not existed" >&2