mirror of https://github.com/CISOfy/lynis.git
Added detection of PureOS in /etc/os-release
This commit is contained in:
parent
d81cc71790
commit
22ceeaa926
|
@ -180,6 +180,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="Debian"
|
OS_NAME="Debian"
|
||||||
;;
|
;;
|
||||||
|
"pureos")
|
||||||
|
LINUX_VERSION="PureOS"
|
||||||
|
OS_FULLNAME=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||||
|
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 '"')
|
||||||
|
OS_NAME="PureOS"
|
||||||
|
;;
|
||||||
"manjaro")
|
"manjaro")
|
||||||
LINUX_VERSION="Manjaro"
|
LINUX_VERSION="Manjaro"
|
||||||
OS_FULLNAME="Manjaro Linux"
|
OS_FULLNAME="Manjaro Linux"
|
||||||
|
|
Loading…
Reference in New Issue