This commit is contained in:
Michael Boelen 2021-07-20 11:32:05 +02:00
commit 6d6e160100
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,9 @@
## Lynis 3.0.6 (not released yet) ## Lynis 3.0.6 (not released yet)
### Added
- OS detection: NethServer
### Changed ### Changed
- GetHostID function: fallback options added for Linux systems - GetHostID function: fallback options added for Linux systems
- Fix: show correct text when egrep is missing - Fix: show correct text when egrep is missing

View File

@ -279,6 +279,12 @@
OS_NAME="Manjaro" OS_NAME="Manjaro"
OS_VERSION="Rolling release" 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") "nixos")
LINUX_VERSION="NixOS" LINUX_VERSION="NixOS"
OS_NAME="NixOS" OS_NAME="NixOS"