mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
commit
484e99f89e
2 changed files with 7 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
- FILE-6398 - Only perform test if we know if Linux kernel is monolithic/modular
|
||||
- KRNL-5622 - Test if systemctl binary is set
|
||||
- OS detection for Fedora Linux Asahi Remix
|
||||
- OS detection for Buildroot
|
||||
|
||||
---------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -202,6 +202,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 '"')
|
||||
;;
|
||||
"buildroot")
|
||||
LINUX_VERSION="Buildroot"
|
||||
OS_NAME="Buildroot"
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"bunsenlabs")
|
||||
LINUX_VERSION="BunsenLabs"
|
||||
OS_NAME="BunsenLabs"
|
||||
|
|
|
|||
Loading…
Reference in a new issue