mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 15:54:09 +02:00
Merge pull request #925 from ajshastri/master
Added OS detection for Oracle Linux
This commit is contained in:
commit
11cfa7c18d
@ -195,6 +195,12 @@
|
|||||||
OS_NAME="Manjaro"
|
OS_NAME="Manjaro"
|
||||||
OS_VERSION="Rolling release"
|
OS_VERSION="Rolling release"
|
||||||
;;
|
;;
|
||||||
|
"ol")
|
||||||
|
LINUX_VERSION="Oracle Linux"
|
||||||
|
OS_NAME="Oracle Linux"
|
||||||
|
OS_REDHAT_OR_CLONE=1
|
||||||
|
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
|
;;
|
||||||
"opensuse-tumbleweed")
|
"opensuse-tumbleweed")
|
||||||
LINUX_VERSION="openSUSE Tumbleweed"
|
LINUX_VERSION="openSUSE Tumbleweed"
|
||||||
# It's rolling release but has a snapshot version (the date of the snapshot)
|
# It's rolling release but has a snapshot version (the date of the snapshot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user