mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Added 'RedHat' to OS detection routine (RHEL 6)
This commit is contained in:
parent
12c088087b
commit
43054c0999
@ -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…
x
Reference in New Issue
Block a user