mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Added 'RedHat' to OS detection routine (RHEL 6)
This commit is contained in:
parent
12c088087b
commit
43054c0999
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@
|
|||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_NAME="Raspbian"
|
||||
;;
|
||||
"rhel")
|
||||
"redhat" | "rhel")
|
||||
LINUX_VERSION="RHEL"
|
||||
OS_NAME="RHEL"
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
|
|
|
|||
Loading…
Reference in a new issue