mirror of https://github.com/CISOfy/lynis.git
Add /etc/os-release detection of Linux Mint
This commit is contained in:
parent
0eaa9bc9c5
commit
ea38da3439
|
@ -194,6 +194,12 @@
|
|||
OS_NAME="Kali Linux"
|
||||
OS_VERSION="Rolling release"
|
||||
;;
|
||||
"linuxmint")
|
||||
LINUX_VERSION="Linux Mint"
|
||||
OS_NAME="Linux Mint"
|
||||
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 '"')
|
||||
;;
|
||||
"manjaro")
|
||||
LINUX_VERSION="Manjaro"
|
||||
OS_FULLNAME="Manjaro Linux"
|
||||
|
|
Loading…
Reference in New Issue