diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/asterisk/asterisk.inc | 2 |
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'); |