mirror of https://github.com/CISOfy/lynis.git
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_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
OS_NAME="Raspbian"
|
OS_NAME="Raspbian"
|
||||||
;;
|
;;
|
||||||
"rhel")
|
"redhat" | "rhel")
|
||||||
LINUX_VERSION="RHEL"
|
LINUX_VERSION="RHEL"
|
||||||
OS_NAME="RHEL"
|
OS_NAME="RHEL"
|
||||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
|
|
Loading…
Reference in New Issue