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>2020-10-17 14:15:06 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2020-10-17 14:15:06 +0300
commit791800f95d1e1090efc0ba29d958fa1a6d80ab7d (patch)
treed8f9602ff79fc0f530fb7a9ce2e6a3ab177084f0 /include/osdetection
parent760460528b7141fb0f0741c4d76787a2ca406488 (diff)
Added Zorin OS detection
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index 9910b307..843a932b 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -273,6 +273,13 @@
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_NAME="Ubuntu"
;;
+ "zorin")
+ LINUX_VERSION="Zorin OS"
+ OS_NAME="Zorin OS"
+ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ ;;
+
*)
ReportException "OS Detection" "Unknown OS found in /etc/os-release - Please create issue on GitHub project page: ${PROGRAM_SOURCE}"
;;