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-06-02 15:09:49 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2020-06-02 15:09:49 +0300
commit9fdfc062dd17820114c2721f211f2c0f36bf5494 (patch)
treeab90ba53c29908b57dd5cf835c74f37dd4a28ec4
parent96659e61eb73c91089b4d3b1e05078eef9a62d64 (diff)
Add Gentoo
-rw-r--r--include/osdetection5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osdetection b/include/osdetection
index 7ad153d6..7483664b 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -183,6 +183,11 @@
OS_REDHAT_OR_CLONE=1
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
;;
+ "gentoo")
+ LINUX_VERSION="Gentoo"
+ OS_NAME="Gentoo Linux"
+ OS_VERSION="Rolling release"
+ ;;
"pureos")
LINUX_VERSION="PureOS"
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')