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-12-18 16:04:58 +0300
committerGitHub <noreply@github.com>2020-12-18 16:04:58 +0300
commit44201f02abac47cdfb7aaf118f00c742fea03583 (patch)
treef6022df0382f1115d9b052fd1a05a93c408982b7 /include/osdetection
parenta26ebd3004fc13cff5d15c5de86e09cb0baf2e13 (diff)
Added elementary OS
Diffstat (limited to 'include/osdetection')
-rw-r--r--include/osdetection6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index 36dc47a3..1596ed10 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -190,6 +190,12 @@
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 '"')
;;
+ "elementary")
+ LINUX_VERSION="elementary OS"
+ OS_NAME="elementary 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 '"')
+ ;;
"endeavouros")
LINUX_VERSION="EndeavourOS"
OS_NAME="EndeavourOS"