From 0f0acdb3b053fa4f49bf0f7a66b96b5c9cf8ebfc Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 22 Apr 2015 15:30:00 -0300 Subject: 2.3+ won't use PBI anymore --- config/asterisk/asterisk.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/asterisk') diff --git a/config/asterisk/asterisk.inc b/config/asterisk/asterisk.inc index 07d3d923..9a89d885 100644 --- a/config/asterisk/asterisk.inc +++ b/config/asterisk/asterisk.inc @@ -35,7 +35,7 @@ define('ASTERISK_CONF_DIR', '/conf/asterisk'); //Check pfsense version $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('ASTERISK_LOCALBASE', '/usr/pbi/asterisk-' . php_uname("m")); else define('ASTERISK_LOCALBASE','/usr/local'); -- cgit v1.2.3