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>2021-07-15 14:16:09 +0300
committerGitHub <noreply@github.com>2021-07-15 14:16:09 +0300
commite0a5555715d78542c1e2f125987d17416f03d29e (patch)
tree92643b810a7cc36879010c57bfe2b64fcf7fa860
parentaa91bb4c85b105d4884e19b7a253024e90c92ac0 (diff)
parente2aa40665c95a278286cfb39c530960ed5f11f71 (diff)
Merge pull request #1186 from just-some-tall-bloke/patch-1
Added detection for NethServer
-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"