mirror of https://github.com/CISOfy/lynis.git
osdetection: add PostmarketOS
This commit is contained in:
parent
64758216f2
commit
34d99f72f6
|
@ -337,6 +337,13 @@
|
|||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_NAME="Pop!_OS"
|
||||
;;
|
||||
"postmarketos")
|
||||
LINUX_VERSION="PostmarketOS"
|
||||
LINUX_VERSION_LIKE="Alpine"
|
||||
OS_NAME=$(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 '"')
|
||||
;;
|
||||
"pureos")
|
||||
LINUX_VERSION="PureOS"
|
||||
LINUX_VERSION_LIKE="Debian"
|
||||
|
|
Loading…
Reference in New Issue