summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter_log.inc4
-rw-r--r--etc/inc/system.inc2
-rwxr-xr-xetc/rc2
3 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc
index cb13b51..c7ee997 100644
--- a/etc/inc/filter_log.inc
+++ b/etc/inc/filter_log.inc
@@ -30,7 +30,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
- pfSense_BUILDER_BINARIES: /usr/sbin/fifolog_reader /usr/bin/tail /usr/sbin/clog
+ pfSense_BUILDER_BINARIES: /usr/sbin/fifolog_reader /usr/bin/tail /usr/local/sbin/clog
pfSense_MODULE: filter
*/
@@ -57,7 +57,7 @@ function conv_log_filter($logfile, $nentries, $tail = 50, $filtertext = "", $fil
if(isset($config['system']['usefifolog']))
exec("/usr/sbin/fifolog_reader " . escapeshellarg($logfile) . " | /usr/bin/tail -r -n {$tail}", $logarr);
else
- exec("/usr/sbin/clog " . escapeshellarg($logfile) . " | grep -v \"CLOG\" | grep -v \"\033\" | /usr/bin/tail -r -n {$tail}", $logarr);
+ exec("/usr/local/sbin/clog " . escapeshellarg($logfile) . " | grep -v \"CLOG\" | grep -v \"\033\" | /usr/bin/tail -r -n {$tail}", $logarr);
$filterlog = array();
$counter = 0;
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 0924c3c..108f86b 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -578,7 +578,7 @@ function system_syslogd_start() {
} else { // Defaults to CLOG
$log_directive = "%";
$log_size = "10240";
- $log_create_directive = "/usr/sbin/clog -i -s ";
+ $log_create_directive = "/usr/local/sbin/clog -i -s ";
}
if (isset($syslogcfg)) {
diff --git a/etc/rc b/etc/rc
index 7dc442c..2be059f 100755
--- a/etc/rc
+++ b/etc/rc
@@ -287,7 +287,7 @@ for logfile in $LOG_FILES; do
# generate fifolog files
/usr/sbin/fifolog_create -s 511488 /var/log/$logfile.log
else
- /usr/sbin/clog -i -s 512144 /var/log/$logfile.log
+ /usr/local/sbin/clog -i -s 512144 /var/log/$logfile.log
fi
fi
fi
OpenPOWER on IntegriCloud