mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 15:54:09 +02:00
Add ROSA Linux detection
This commit is contained in:
parent
21b5493a1c
commit
85d36db113
@ -273,6 +273,12 @@
|
|||||||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
OS_NAME="Ubuntu"
|
OS_NAME="Ubuntu"
|
||||||
;;
|
;;
|
||||||
|
"rosa")
|
||||||
|
LINUX_VERSION="ROSA Linux"
|
||||||
|
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 '"')
|
||||||
|
OS_NAME="ROSA Desktop Fresh R11.1"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
ReportException "OS Detection" "Unknown OS found in /etc/os-release - Please create issue on GitHub project page: ${PROGRAM_SOURCE}"
|
ReportException "OS Detection" "Unknown OS found in /etc/os-release - Please create issue on GitHub project page: ${PROGRAM_SOURCE}"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user