Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2017-08-08 15:52:59 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-08-08 15:52:59 +0300
commita547953d99d09ec8e3daa6ae593b615506a565a9 (patch)
tree458b042f5cb8f167111f99e7401a28c9000465ab /include
parent4660362e7417fab69cf8be2a32b0c50fe4b15f83 (diff)
Set default log directory, or allow it be set per OS
Diffstat (limited to 'include')
-rw-r--r--include/consts1
-rw-r--r--include/osdetection1
2 files changed, 2 insertions, 0 deletions
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