mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 07:44:14 +02:00
added Athena OS detection
This commit is contained in:
parent
00d88e83a6
commit
83e9ee4e0c
@ -181,6 +181,12 @@
|
|||||||
OS_FULLNAME="Artix Linux"
|
OS_FULLNAME="Artix Linux"
|
||||||
OS_VERSION="Rolling release"
|
OS_VERSION="Rolling release"
|
||||||
;;
|
;;
|
||||||
|
"athena")
|
||||||
|
LINUX_VERSION="Athena OS"
|
||||||
|
OS_NAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
|
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 '"')
|
||||||
|
;;
|
||||||
"bunsenlabs")
|
"bunsenlabs")
|
||||||
LINUX_VERSION="BunsenLabs"
|
LINUX_VERSION="BunsenLabs"
|
||||||
OS_NAME="BunsenLabs"
|
OS_NAME="BunsenLabs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user