From 947303f3443a4379fc0000aad441bb156ef866b5 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Tue, 5 Aug 2014 14:55:50 +0200 Subject: Don't hardcode BIRD binaries paths. --- routers/bird.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'routers') 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': -- cgit v1.2.3