mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Merge pull request #1608 from jpasher-lazor/add_openmandriva
Add detection for OpenMandriva Lx
This commit is contained in:
commit
7c7d100d62
1 changed files with 6 additions and 0 deletions
|
|
@ -400,6 +400,12 @@
|
|||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"openmandriva")
|
||||
LINUX_VERSION="OpenMandriva Lx"
|
||||
OS_NAME="OpenMandriva Lx"
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"opensuse-tumbleweed")
|
||||
LINUX_VERSION="openSUSE Tumbleweed"
|
||||
# It's rolling release but has a snapshot version (the date of the snapshot)
|
||||
|
|
|
|||
Loading…
Reference in a new issue