From a547953d99d09ec8e3daa6ae593b615506a565a9 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 8 Aug 2017 14:52:59 +0200 Subject: Set default log directory, or allow it be set per OS --- include/consts | 1 + include/osdetection | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/consts b/include/consts index 0ab269b6..21f3af02 100644 --- a/include/consts +++ b/include/consts @@ -130,6 +130,7 @@ unset LANG LMDBINARY="" LMDFOUND=0 LOGFILE="" + LOGDIR="" LOGTEXT=1 LSVGBINARY="" MACHINEID="" diff --git a/include/osdetection b/include/osdetection index 0ea1d8bb..0d19782e 100644 --- a/include/osdetection +++ b/include/osdetection @@ -111,6 +111,7 @@ HARDWARE=$(uname -m) FIND_BINARIES="whereis -b" SYSCTL_READKEY="" + LOGDIR="/var/adm/syslog" ;; # Linux -- cgit v1.2.3