mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-26 23:34:25 +02:00
Added Zorin OS detection
This commit is contained in:
parent
760460528b
commit
791800f95d
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
## Lynis 3.0.2 (not released yet)
|
## Lynis 3.0.2 (not released yet)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Detection of Zorin OS
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- KRNL-5830 - Improved reboot test by ignoring known bad values
|
- 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_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
OS_NAME="Ubuntu"
|
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}"
|
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