mirror of https://github.com/CISOfy/lynis.git
Merge pull request #1186 from just-some-tall-bloke/patch-1
Added detection for NethServer
This commit is contained in:
commit
e0a5555715
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue