aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-22 15:30:00 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-22 15:30:00 -0300
commit0f0acdb3b053fa4f49bf0f7a66b96b5c9cf8ebfc (patch)
treec96ac321521b137bcabc75b377cf3ba22c1b5162
parent38166c12412e2dfedbb37e929d66edafb1539c95 (diff)
downloadpfsense-packages-0f0acdb3b053fa4f49bf0f7a66b96b5c9cf8ebfc.tar.gz
pfsense-packages-0f0acdb3b053fa4f49bf0f7a66b96b5c9cf8ebfc.tar.bz2
pfsense-packages-0f0acdb3b053fa4f49bf0f7a66b96b5c9cf8ebfc.zip
2.3+ won't use PBI anymore
-rw-r--r--config/asterisk/asterisk.inc2
1 files changed, 1 insertions, 1 deletions
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');