Moving entry Garden Linux

This commit is contained in:
Michael Boelen 2024-10-08 08:59:31 +00:00
parent a4b7bcfa88
commit 94a944b110
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
2 changed files with 8 additions and 9 deletions

View File

@ -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

View File

@ -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}"
;;