mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Update osdetection - add support for OSMC
Add detection support for OSMC.
This commit is contained in:
parent
f5b85c65e9
commit
6f81b6502b
1 changed files with 6 additions and 0 deletions
|
|
@ -348,6 +348,12 @@
|
|||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_NAME="openSUSE"
|
||||
;;
|
||||
"osmc")
|
||||
LINUX_VERSION="OSMC"
|
||||
LINUX_VERSION_LIKE="Debian"
|
||||
OS_NAME="Open Source Media Center"
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
;;
|
||||
"parrot")
|
||||
LINUX_VERSION="Parrot"
|
||||
OS_NAME="Parrot GNU/Linux"
|
||||
|
|
|
|||
Loading…
Reference in a new issue