Fix birdc path
This commit is contained in:
parent
b61dfe91f3
commit
aa8f5bf00e
@ -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: "
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user