diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2021-07-20 12:32:05 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2021-07-20 12:32:05 +0300 |
commit | 6d6e1601005e5d3d933a27347862d24685c89f40 (patch) | |
tree | b8a33704919b6c1014830fd998d2c63007dea8a3 | |
parent | b17a58c0959445933d3d7891e0b914c1978d65bd (diff) | |
parent | 360cd7d5ab221fe55eb269f7a8bc01010985fcd0 (diff) |
Merge branch 'master' of https://github.com/CISOfy/lynis
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | include/osdetection | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f1817f0..3bd36dbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Lynis 3.0.6 (not released yet) +### Added +- OS detection: NethServer + ### Changed - GetHostID function: fallback options added for Linux systems - Fix: show correct text when egrep is missing diff --git a/include/osdetection b/include/osdetection index 7b1e911c..47dbd216 100644 --- a/include/osdetection +++ b/include/osdetection @@ -279,6 +279,12 @@ OS_NAME="Manjaro" OS_VERSION="Rolling release" ;; + "nethserver") + LINUX_VERSION="NethServer" + OS_NAME="NethServer" + OS_REDHAT_OR_CLONE=1 + OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"') + ;; "nixos") LINUX_VERSION="NixOS" OS_NAME="NixOS" |