From e2aa40665c95a278286cfb39c530960ed5f11f71 Mon Sep 17 00:00:00 2001 From: just-some-tall-bloke Date: Fri, 9 Jul 2021 11:06:12 +0200 Subject: [PATCH 1/2] Update osdetection Added NethServer https://www.nethserver.org/ --- include/osdetection | 6 ++++++ 1 file changed, 6 insertions(+) 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" From 360cd7d5ab221fe55eb269f7a8bc01010985fcd0 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 15 Jul 2021 13:21:07 +0200 Subject: [PATCH 2/2] Updated log --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d0d4b98..0b2f678f 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