mirror of https://github.com/CISOfy/lynis.git
Merge pull request #1467 from Erasure5959/master
Update osdetection - add support for OSMC
This commit is contained in:
commit
6fe353f0d1
|
@ -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 New Issue