mirror of https://github.com/CISOfy/lynis.git
Added Zorin OS detection
This commit is contained in:
parent
760460528b
commit
791800f95d
|
@ -2,6 +2,9 @@
|
|||
|
||||
## Lynis 3.0.2 (not released yet)
|
||||
|
||||
### Added
|
||||
- Detection of Zorin OS
|
||||
|
||||
### Changed
|
||||
- KRNL-5830 - Improved reboot test by ignoring known bad values
|
||||
|
||||
|
|
|
@ -273,6 +273,13 @@
|
|||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_NAME="Ubuntu"
|
||||
;;
|
||||
"zorin")
|
||||
LINUX_VERSION="Zorin OS"
|
||||
OS_NAME="Zorin OS"
|
||||
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 '"')
|
||||
;;
|
||||
|
||||
*)
|
||||
ReportException "OS Detection" "Unknown OS found in /etc/os-release - Please create issue on GitHub project page: ${PROGRAM_SOURCE}"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue