mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Update osdetection
Added QTS (QNAP)
This commit is contained in:
parent
a32c7d051e
commit
2d0574ca5d
1 changed files with 6 additions and 0 deletions
|
|
@ -455,6 +455,12 @@
|
|||
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
|
||||
OS_NAME="PureOS"
|
||||
;;
|
||||
"qts")
|
||||
LINUX_VERSION="QNAP"
|
||||
OS_NAME="QTS"
|
||||
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 '"')
|
||||
;;
|
||||
"raspbian")
|
||||
LINUX_VERSION="Raspbian"
|
||||
LINUX_VERSION_LIKE="Debian"
|
||||
|
|
|
|||
Loading…
Reference in a new issue