mirror of https://github.com/CISOfy/lynis.git
commit
484e99f89e
|
@ -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 New Issue