summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-08-05 14:55:50 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-08-05 14:55:50 +0200
commit947303f3443a4379fc0000aad441bb156ef866b5 (patch)
treee3df6943caa2bc372e2d88d023e6347b374f6565
parentb5de18337a148017f5d3bfa101ee4cc25f2dee98 (diff)
Don't hardcode BIRD binaries paths.
-rw-r--r--routers/bird.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/bird.php b/routers/bird.php
index b964367..4abd788 100644
--- a/routers/bird.php
+++ b/routers/bird.php
@@ -26,8 +26,8 @@ final class Bird extends Router {
protected function build_commands($command, $parameters) {
$commands = array();
- $birdc = '/usr/sbin/birdc';
- $birdc6 = '/usr/sbin/birdc6';
+ $birdc = 'birdc';
+ $birdc6 = 'birdc6';
switch ($command) {
case 'bgp':