mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Merge pull request #1441 from D3vil0p3r/patch-1
added Athena OS detection
This commit is contained in:
commit
7627d86b88
1 changed files with 6 additions and 0 deletions
|
|
@ -186,6 +186,12 @@
|
|||
OS_FULLNAME="Artix Linux"
|
||||
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")
|
||||
LINUX_VERSION="BunsenLabs"
|
||||
OS_NAME="BunsenLabs"
|
||||
|
|
|
|||
Loading…
Reference in a new issue