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:
authorjust-some-tall-bloke <rob22.uk@gmail.com>2021-07-09 12:06:12 +0300
committerGitHub <noreply@github.com>2021-07-09 12:06:12 +0300
commite2aa40665c95a278286cfb39c530960ed5f11f71 (patch)
tree3e74d8bcfe5c5f43273b7a390f296f5735728c3d /include/osdetection
parent78677597503279d941693b5fd2adcf9e95ae05f7 (diff)
Update osdetection
Added NethServer https://www.nethserver.org/
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 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"