blade-router: use absolute path to birdc
This commit is contained in:
parent
e80a1750b8
commit
4c013cb2bc
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue