diff --git a/script/diagnose.sh b/script/diagnose.sh index 3404cec..5b84c09 100755 --- a/script/diagnose.sh +++ b/script/diagnose.sh @@ -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: " diff --git a/script/enable.sh b/script/enable.sh index c5302db..6172ec0 100755 --- a/script/enable.sh +++ b/script/enable.sh @@ -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