From 942f489ef647252418d9b78440b3b6403de86df4 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 27 Apr 2015 10:28:52 -0300 Subject: Add openbgpd port_category, run_depends and fix pbi check --- config/openbgpd/openbgpd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/openbgpd') diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc index 907f6b8c..c625cff8 100644 --- a/config/openbgpd/openbgpd.inc +++ b/config/openbgpd/openbgpd.inc @@ -33,7 +33,7 @@ require_once("service-utils.inc"); define('PKG_BGPD_CONFIG_BASE', '/var/etc/openbgpd'); $pf_version=substr(trim(file_get_contents("/etc/version")),0,3); -if ($pf_version > 2.0) +if ($pf_version == "2.1" || $pf_version == "2.2") define('PKG_BGPD_BIN', '/usr/pbi/openbgpd-' . php_uname("m") . '/sbin'); else define('PKG_BGPD_BIN','/usr/local/sbin'); -- cgit v1.2.3