mirror of https://github.com/CISOfy/lynis.git
Moving entry Garden Linux
This commit is contained in:
parent
a4b7bcfa88
commit
94a944b110
|
@ -3,7 +3,7 @@
|
|||
## Lynis 3.1.3 (not released yet)
|
||||
|
||||
### Added
|
||||
- Detection of Buildroot, Fedora Linux Asahi Remix, Peppermint OS
|
||||
- Detection of Buildroot, Fedora Linux Asahi Remix, Garden Linux, Peppermint OS
|
||||
|
||||
### Changed
|
||||
- FILE-6398 - Only perform test if we know if Linux kernel is monolithic/modular
|
||||
|
|
|
@ -289,6 +289,13 @@
|
|||
OS_FULLNAME="Funtoo Linux"
|
||||
OS_VERSION="Rolling release"
|
||||
;;
|
||||
"gardenlinux")
|
||||
LINUX_VERSION="Garden Linux"
|
||||
LINUX_VERSION_LIKE="Debian"
|
||||
OS_NAME=$(grep "^NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION=$(grep "^GARDENLINUX_VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^GARDENLINUX_VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"garuda")
|
||||
LINUX_VERSION="Garuda"
|
||||
OS_FULLNAME="Garuda Linux"
|
||||
|
@ -504,14 +511,6 @@
|
|||
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 '"')
|
||||
;;
|
||||
"gardenlinux")
|
||||
LINUX_VERSION="Garden Linux"
|
||||
LINUX_VERSION_LIKE="Debian"
|
||||
OS_NAME=$(grep "^NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION=$(grep "^GARDENLINUX_VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^GARDENLINUX_VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
|
||||
;;
|
||||
*)
|
||||
ReportException "OS Detection" "Unknown OS found in /etc/os-release - Please create an issue on GitHub and share the contents (cat /etc/os-release): ${PROGRAM_SOURCE}"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue