mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Merge pull request #1550 from Aera23/master
Update osdetection - Peppermint OS
This commit is contained in:
commit
f8f2b6441a
1 changed files with 7 additions and 0 deletions
|
|
@ -412,6 +412,13 @@
|
|||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"peppermint")
|
||||
LINUX_VERSION="Peppermint OS"
|
||||
LINUX_VERSION_LIKE="Debian"
|
||||
OS_NAME="Peppermint OS"
|
||||
OS_VERSION=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_VERSION_FULL=$(grep "^VERSION_CODENAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"poky")
|
||||
LINUX_VERSION="Poky"
|
||||
OS_NAME="openembedded"
|
||||
|
|
|
|||
Loading…
Reference in a new issue