blade-router: use absolute path to birdc

This commit is contained in:
Luke Granger-Brown 2021-03-30 00:18:08 +00:00
parent e80a1750b8
commit 4c013cb2bc

View file

@ -12,13 +12,15 @@ let
NAME=$2
TYPE=$1
BIRDC=${pkgs.bird2}/bin/birdc
case $ENDSTATE in
"MASTER") birdc enable export4
birdc enable export6
"MASTER") $BIRDC enable export4
$BIRDC enable export6
exit 0
;;
*) birdc disable export4
birdc disable export6
*) $BIRDC disable export4
$BIRDC disable export6
exit 0
;;
esac