aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-12-02 21:13:16 -0600
committerChris Buechler <cmb@pfsense.org>2014-12-02 21:13:16 -0600
commitde77645ca39ecd6b86bea62617ebf9081c07aea1 (patch)
treed0accfec7bffe0a2db3b619a588aba79181014ee /config
parent87019e8afcb46a9be8edc461168287f6a9b92cc4 (diff)
downloadpfsense-packages-de77645ca39ecd6b86bea62617ebf9081c07aea1.tar.gz
pfsense-packages-de77645ca39ecd6b86bea62617ebf9081c07aea1.tar.bz2
pfsense-packages-de77645ca39ecd6b86bea62617ebf9081c07aea1.zip
fix imspector to use pbi paths. Breaks 2.0.x in process, don't care.
Diffstat (limited to 'config')
-rw-r--r--config/imspector/imspector.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/imspector/imspector.inc b/config/imspector/imspector.inc
index 2d672e87..89fbda2b 100644
--- a/config/imspector/imspector.inc
+++ b/config/imspector/imspector.inc
@@ -35,9 +35,8 @@
require_once("service-utils.inc");
/* IMSpector */
-
define('IMSPECTOR_RCFILE', '/usr/local/etc/rc.d/imspector.sh');
- define('IMSPECTOR_ETC', '/usr/local/etc/imspector');
+ define('IMSPECTOR_ETC', "/usr/pbi/imspector-" . php_uname("m") . "/local/etc/imspector");
define('IMSPECTOR_CONFIG', IMSPECTOR_ETC . '/imspector.conf');
function imspector_warn ($msg) { syslog(LOG_WARNING, "imspector: {$msg}"); }
@@ -543,4 +542,4 @@ function imspector_do_xmlrpc_sync($sync_to_ip, $password) {
}
}
-?>
+?> \ No newline at end of file